summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/sha2.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-07-16 06:24:29 +0200
committerDan McGee <dan@archlinux.org>2012-08-01 16:16:46 +0200
commitd2669b47812aebfe3ada7df4c7d7525790ef9c33 (patch)
treeac0640af441883a043a468704895ea5cd7862755 /lib/libalpm/sha2.c
parente94876089a934fde13984b59e735b35f92837d96 (diff)
downloadpacman-d2669b47812aebfe3ada7df4c7d7525790ef9c33.tar.gz
pacman-d2669b47812aebfe3ada7df4c7d7525790ef9c33.tar.xz
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>
Diffstat (limited to 'lib/libalpm/sha2.c')
0 files changed, 0 insertions, 0 deletions