Remove _FORTIFY_SOURCE

Apparently, on some glibc versions this causes warnings when
optimization is not enabled.

Altogether, there appear to be too many incompatibilities surrounding
this.
This commit is contained in:
Peter Eisentraut 2012-10-10 21:42:38 -04:00
parent c3bf3ea2b6
commit ab112068b6
1 changed files with 0 additions and 6 deletions

View File

@ -3,12 +3,6 @@
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
# Many distributors use this, so we might as well see the warnings as
# well. ICC doesn't work when this is enabled.
if test "$ICC" != "yes"; then
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
fi
# If --enable-profiling is specified, we need -DLINUX_PROFILE
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"