8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff75219 commit 97ec962Copy full SHA for 97ec962
src/template/linux
@@ -3,8 +3,11 @@
3
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
4
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
5
6
-# Many distributors use this, so we might as well see the warnings as well.
7
-CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
+# Many distributors use this, so we might as well see the warnings as
+# 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
12
# If --enable-profiling is specified, we need -DLINUX_PROFILE
13
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"
0 commit comments