Module: wine Branch: master Commit: b10fb86a91c0fcef9db236076929842c8dc45baa URL: http://source.winehq.org/git/wine.git/?a=commit;h=b10fb86a91c0fcef9db2360769...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Oct 29 14:25:01 2010 +0200
configure: More aggressive disabling of Fortify.
---
configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure index 32efe7f..baebf88 100755 --- a/configure +++ b/configure @@ -12159,7 +12159,7 @@ fi $as_echo "$ac_cv_c_fortify_enabled" >&6; } if test "$ac_cv_c_fortify_enabled" = yes then - EXTRACFLAGS="$EXTRACFLAGS -D_FORTIFY_SOURCE=0" + CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" fi
diff --git a/configure.ac b/configure.ac index 7b6818b..50feee4 100644 --- a/configure.ac +++ b/configure.ac @@ -1690,7 +1690,7 @@ AC_CACHE_CHECK([for the need to disable Fortify], ac_cv_c_fortify_enabled, [ac_cv_c_fortify_enabled=no],[ac_cv_c_fortify_enabled=yes])) if test "$ac_cv_c_fortify_enabled" = yes then - EXTRACFLAGS="$EXTRACFLAGS -D_FORTIFY_SOURCE=0" + CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" fi
dnl **** Check for underscore on external symbols ****