Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 78E32C433F5 for ; Wed, 18 May 2022 12:14:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id E6C2884092; Wed, 18 May 2022 12:14:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id am8DVUZ5liRT; Wed, 18 May 2022 12:14:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id ED45F83192; Wed, 18 May 2022 12:14:12 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 446171BF4E4 for ; Wed, 18 May 2022 12:14:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 40BDE4050C for ; Wed, 18 May 2022 12:14:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UzjZuyEf3UZp for ; Wed, 18 May 2022 12:14:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp2.osuosl.org (Postfix) with ESMTPS id 5972040164 for ; Wed, 18 May 2022 12:14:11 +0000 (UTC) Received: (Authenticated sender: peter@korsgaard.com) by mail.gandi.net (Postfix) with ESMTPSA id 8772D20009; Wed, 18 May 2022 12:14:08 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.94.2) (envelope-from ) id 1nrIZ5-006BqG-LZ; Wed, 18 May 2022 14:14:07 +0200 From: Peter Korsgaard To: Fabrice Fontaine References: <20220410103014.115744-1-fontaine.fabrice@gmail.com> Date: Wed, 18 May 2022 14:14:07 +0200 In-Reply-To: <20220410103014.115744-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 10 Apr 2022 12:30:14 +0200") Message-ID: <87pmkb2g34.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH v2, 1/1] package/libkcapi: fix build with BR2_OPTIMIZE_0 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Fabrice" == Fabrice Fontaine writes: > Override CPPFLAGS to fix the following build failure with BR2_OPTIMIZE_0 > raised since bump to version 0.14.0 in commit > cd707a9112e38b4ce98326b96c0ed12054ca1cca and > https://github.com/smuellerDD/libkcapi/commit/0e7b2b0300782aca19c324f3352f109777b4c51a: > /home/autobuild/autobuild/instance-15/output-1/host/i686-buildroot-linux-gnu/sysroot/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] > It should be noted that upstream already rejected a PR to remove > -Werror: https://github.com/smuellerDD/libkcapi/pull/132 > Fixes: > - http://autobuild.buildroot.org/results/35141ea3046f5a4593e0b27ef92e4ace6bc0be66 > Signed-off-by: Fabrice Fontaine > --- > Changes v1 -> v2 (after review of Arnout Vandecappelle): > - Override CPPFLAGS instead of COMMON_CPPFLAGS as -D_FORTIFY_SOURCE=2 > is added to CPPFLAGS by ax_add_fortify_source.m4 Committed to 2022.02.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot