From a613dc03b0c16e6cc763dbedf1932967ffee3fd9 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 12 May 2004 06:14:24 +0000 Subject: [PATCH] Change a flag to be compatible with icc [SVN r22796] --- src/tools/gcc.jam | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tools/gcc.jam b/src/tools/gcc.jam index 2b694fc22..cad3a8ea0 100644 --- a/src/tools/gcc.jam +++ b/src/tools/gcc.jam @@ -110,7 +110,10 @@ actions compile.c # Declare flags and action for linking flags gcc.link OPTIONS on : -g ; # Strip the binary when no debugging is needed. -flags gcc.link OPTIONS off : -s ; +# We use --strip-all flag as opposed to -s since icc +# (intel's compiler) is generally option-compatible with +# and inherits from gcc toolset, but does not support -s +flags gcc.link OPTIONS off : -Wl,--strip-all ; flags gcc.link OPTIONS on : -pg ; flags gcc.link OPTIONS ; flags gcc.link LINKPATH ;