2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Change a flag to be compatible with icc

[SVN r22796]
This commit is contained in:
Vladimir Prus
2004-05-12 06:14:24 +00:00
parent 9490c6b82a
commit a613dc03b0

View File

@@ -110,7 +110,10 @@ actions compile.c
# Declare flags and action for linking
flags gcc.link OPTIONS <debug-symbols>on : -g ;
# Strip the binary when no debugging is needed.
flags gcc.link OPTIONS <debug-symbols>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 <debug-symbols>off : -Wl,--strip-all ;
flags gcc.link OPTIONS <profiling>on : -pg ;
flags gcc.link OPTIONS <linkflags> ;
flags gcc.link LINKPATH <library-path> ;