summaryrefslogtreecommitdiffstats
path: root/config/intel-flags
diff options
context:
space:
mode:
Diffstat (limited to 'config/intel-flags')
-rw-r--r--config/intel-flags6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 9477281..2a89b3b 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -57,8 +57,8 @@ if test "X-icc" = "X-$cc_vendor"; then
CFLAGS="${CFLAGS:--std=c99 $arch}"
# Production
- # -s to remove all symbols for smaller file
- PROD_CFLAGS="-O3 -s"
+ # -Wl,-s to remove all symbols for smaller file
+ PROD_CFLAGS="-O3 -Wl,-s"
PROD_CPPFLAGS=
# Debug
@@ -82,7 +82,7 @@ fi
case "$cc_vendor-$cc_version" in
icc-8.0*)
# v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.
- PROD_CFLAGS="-O2 -s"
+ PROD_CFLAGS="-O2 -Wl,-s"
;;
esac