Disable _FORTIFY_SOURCE with ICC
There are apparently some incompatibilities, per buildfarm.
This commit is contained in:
parent
ff75219e9f
commit
97ec962157
@ -3,8 +3,11 @@
|
|||||||
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
|
# Force _GNU_SOURCE on; plperl is broken with Perl 5.8.0 otherwise
|
||||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||||
|
|
||||||
# Many distributors use this, so we might as well see the warnings as well.
|
# Many distributors use this, so we might as well see the warnings as
|
||||||
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
|
# 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
|
# If --enable-profiling is specified, we need -DLINUX_PROFILE
|
||||||
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"
|
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user