ref: 7336f1f1566995f04c11582332316ad8a83b04a1
parent: 1ea04d980c384d7965898082275288fc09efda5f
parent: 51af8a5103ed0c1eccce95efceb0c0fc99cc0df3
author: Erik Niemeyer <[email protected]>
date: Sun Oct 13 05:20:18 EDT 2013
Merge "Adjust icc compiler options"
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1060,9 +1060,11 @@
CC=${CC:-icc}
LD=${LD:-icc}
setup_gnu_toolchain
- add_cflags -use-msasm -use-asm
- add_ldflags -i-static
- enabled x86_64 && add_cflags -ipo -static -O3
+ add_cflags -use-msasm # remove -use-msasm too?
+ # add -no-intel-extensions to suppress warning #10237
+ # refer to http://software.intel.com/en-us/forums/topic/280199
+ add_ldflags -i-static -no-intel-extensions
+ enabled x86_64 && add_cflags -ipo -static -O3 -no-prec-div
enabled x86_64 && AR=xiar
case ${tune_cpu} in
atom*)