|
From: | Ralf Corsepius |
Subject: | Re: Autoconf does not like "-D_FORTIFY_SOURCE=2 -O2" |
Date: | Wed, 08 May 2013 19:20:49 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 |
On 05/08/2013 04:00 PM, Zack Weinberg wrote:
On Wed, May 8, 2013 at 1:17 AM, Allan McRae <address@hidden> wrote:Our distribution packages are compiled with: CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" So when both CPPFLAGS and CFLAGS are passed there is no issue.I think the quick fix from your end is to move -D_FORTIFY_SOURCE to CFLAGS (and presumably also CXXFLAGS).
FWIW: This is what Fedora and RH are doing for years. Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |