diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/spice-compile-warnings.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4 index 959971a2..31f2a9c3 100644 --- a/m4/spice-compile-warnings.m4 +++ b/m4/spice-compile-warnings.m4 @@ -113,7 +113,7 @@ AC_DEFUN([SPICE_COMPILE_WARNINGS],[ # Use improved glibc headers AH_VERBATIM([FORTIFY_SOURCE], [/* Enable compile-time and run-time bounds-checking, and some warnings. */ -#if __OPTIMIZE__ +#if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__ # define _FORTIFY_SOURCE 2 #endif ]) |