Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit97ec962

Browse files
committed
Disable _FORTIFY_SOURCE with ICC
There are apparently some incompatibilities, per buildfarm.
1 parentff75219 commit97ec962

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/template/linux

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
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 well.
7-
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
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
811

912
# If --enable-profiling is specified, we need -DLINUX_PROFILE
1013
PLATFORM_PROFILE_FLAGS="-DLINUX_PROFILE"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp