From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 51168 invoked by alias); 14 Feb 2017 09:50:47 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 51150 invoked by uid 89); 14 Feb 2017 09:50:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=caught, H*F:U*mark, H*M:137 X-Spam-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: gnu.wildebeest.org Message-ID: <1487065842.3788.137.camel@klomp.org> Subject: Re: [PATCH] Add -D_FORTIFY_SOURCE=2 to CFLAGS if possible. From: Mark Wielaard To: elfutils-devel@sourceware.org Date: Tue, 14 Feb 2017 09:50:00 -0000 In-Reply-To: <1486671194-32476-1-git-send-email-mark@klomp.org> References: <1486671194-32476-1-git-send-email-mark@klomp.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Evolution 3.12.11 (3.12.11-22.el7) Mime-Version: 1.0 X-SW-Source: 2017-q1/txt/msg00027.txt.bz2 On Thu, 2017-02-09 at 21:13 +0100, Mark Wielaard wrote: > Some distros now add -D_FORTIFY_SOURCE=3D2 by default and we have missed > some issues in the past caught by it. Add it to CFLAGS if possible. > The configure check will make sure that it doesn't conflict with any > other CFLAGS already defined. I pushed this to master now.