Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ab11206

Browse files
committed
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.
1 parent c3bf3ea commit ab11206

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/template/linux

-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
44
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
55

6-
# Many distributors use this, so we might as well see the warnings as
7-
# well. ICC doesn't work when this is enabled.
8-
if test "$ICC" != "yes"; then
9-
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
10-
fi
11-
126
# If --enable-profiling is specified, we need -DLINUX_PROFILE
137
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"
148

0 commit comments

Comments
 (0)