]> git.proxmox.com Git - qemu.git/blobdiff - configure
configure: Undefine _FORTIFY_SOURCE prior using it
[qemu.git] / configure
index 1b6f68b691189c899396554f93c3d48962d73004..8ad42bc2a614934f3c660ee3cdd973d4a15fda58 100755 (executable)
--- a/configure
+++ b/configure
@@ -3520,7 +3520,7 @@ if test "$gcov" = "yes" ; then
   CFLAGS="-fprofile-arcs -ftest-coverage -g $CFLAGS"
   LDFLAGS="-fprofile-arcs -ftest-coverage $LDFLAGS"
 elif test "$debug" = "no" ; then
-  CFLAGS="-O2 -D_FORTIFY_SOURCE=2 $CFLAGS"
+  CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 $CFLAGS"
 fi