diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-10-10 21:42:38 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-10-10 21:42:38 -0400 |
commit | ab112068b657a2bd30a7f953c732e2ee75a606f5 (patch) | |
tree | 8f46e8d18a707de700e347d71f05ae30e4a5234e /src | |
parent | c3bf3ea2b61c312cc813edd9bb43aa338ae9288c (diff) | |
download | postgresql-ab112068b657a2bd30a7f953c732e2ee75a606f5.tar.gz postgresql-ab112068b657a2bd30a7f953c732e2ee75a606f5.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/template/linux | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/template/linux b/src/template/linux index fd509d98ca4..3eb5ad2428f 100644 --- a/src/template/linux +++ b/src/template/linux @@ -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" |