From patchwork Thu Apr 11 23:31:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 1084369 X-Patchwork-Delegate: petr.vorel@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.linux.it (client-ip=2001:1418:10:5::2; helo=picard.linux.it; envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Received: from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44gHNl0nNcz9s47 for ; Fri, 12 Apr 2019 09:31:50 +1000 (AEST) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 382D8294B00 for ; Fri, 12 Apr 2019 01:31:48 +0200 (CEST) X-Original-To: ltp@lists.linux.it Delivered-To: ltp@picard.linux.it Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) by picard.linux.it (Postfix) with ESMTP id 6CA443EA2BA for ; Fri, 12 Apr 2019 01:31:30 +0200 (CEST) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id CA9146005C7 for ; Fri, 12 Apr 2019 01:31:31 +0200 (CEST) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8D36DAC63; Thu, 11 Apr 2019 23:31:29 +0000 (UTC) From: Petr Vorel To: ltp@lists.linux.it Date: Fri, 12 Apr 2019 01:31:15 +0200 Message-Id: <20190411233115.32744-4-pvorel@suse.cz> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190411233115.32744-1-pvorel@suse.cz> References: <20190411233115.32744-1-pvorel@suse.cz> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.2 at in-5.smtp.seeweb.it X-Virus-Status: Clean X-Spam-Status: No, score=-0.0 required=7.0 tests=SPF_PASS autolearn=disabled version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on in-5.smtp.seeweb.it Subject: [LTP] [RFC PATCH 3/3] make: Add -Werror-implicit-function-declaration for all targets X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.18 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it Sender: "ltp" Previously it was passed only to Android build, but it's good to check it for all. Signed-off-by: Petr Vorel --- Tested in travis: https://travis-ci.org/pevik/ltp/builds/518886113 --- include/mk/env_post.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/mk/env_post.mk b/include/mk/env_post.mk index 913bdf5d1..3ffdd0b7f 100644 --- a/include/mk/env_post.mk +++ b/include/mk/env_post.mk @@ -41,11 +41,9 @@ ifeq ($(UCLINUX),1) CPPFLAGS += -D__UCLIBC__ -DUCLINUX endif -ifeq ($(ANDROID),1) -# There are many undeclared functions, it's best not to accidentally overlook -# them. CFLAGS += -Werror-implicit-function-declaration +ifeq ($(ANDROID),1) LDFLAGS += -L$(top_builddir)/lib/android_libpthread LDFLAGS += -L$(top_builddir)/lib/android_librt endif