diff --git a/configure b/configure index 02086206..42d665e0 100755 --- a/configure +++ b/configure @@ -7042,6 +7042,7 @@ else : fi + CPPFLAGS="$CPPFLAGS -U_FORTIFY_SOURCE" ;; esac diff --git a/configure.ac b/configure.ac index d9c2b321..daf7aac5 100644 --- a/configure.ac +++ b/configure.ac @@ -224,6 +224,7 @@ AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ ], [ AX_CHECK_COMPILE_FLAG([-fPIC], [CFLAGS="$CFLAGS -fPIC"]) + CPPFLAGS="$CPPFLAGS -U_FORTIFY_SOURCE" ]) AS_IF([test "$enable_pie" != "no"],[