pacman/m4
Allan McRae d2669b4781 Do not enable _FORTIFY_SOURCE without optimization
With glibc-2.16, using -D_FORTIFY_SOURCE requires that optimization (-O)
be used or it will prodice a warning message. Enable -Werror in our
test for _FORTIFY_SOURCE support to catch when a users specifies CFLAGS
without optimization.

The line to set CFLAGS="" when no CFLAGS are specified (either due to
being unset or geniunely empty) is required as autoconf will use
"-O2 -g" for its tests by defult when CFLAGS is unset, but will not add
them to the CFLAGS used...

Signed-off-by: Allan McRae <allan@archlinux.org>
2012-08-01 09:16:46 -05:00
..
acinclude.m4 Do not enable _FORTIFY_SOURCE without optimization 2012-08-01 09:16:46 -05:00
gettext.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
gpgme.m4 Add gpgme m4 autoconf macro file 2012-02-13 10:07:15 -06:00
iconv.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
intlmacosx.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
lib-ld.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
lib-link.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
lib-prefix.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
libtool.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
ltoptions.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
ltsugar.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
ltversion.m4 Update libtool files 2011-10-25 10:37:21 -05:00
lt~obsolete.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
nls.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
pkg.m4 buildsys: add pkg-config m4 macros 2012-04-08 18:48:31 -04:00
po.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00
progtest.m4 Update build system (automake, autoconf, libtool) 2010-09-23 09:10:53 -05:00