Merge "Adjust icc compiler options"
This commit is contained in:
commit
7336f1f156
@ -1060,9 +1060,11 @@ EOF
|
|||||||
CC=${CC:-icc}
|
CC=${CC:-icc}
|
||||||
LD=${LD:-icc}
|
LD=${LD:-icc}
|
||||||
setup_gnu_toolchain
|
setup_gnu_toolchain
|
||||||
add_cflags -use-msasm -use-asm
|
add_cflags -use-msasm # remove -use-msasm too?
|
||||||
add_ldflags -i-static
|
# add -no-intel-extensions to suppress warning #10237
|
||||||
enabled x86_64 && add_cflags -ipo -static -O3
|
# 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
|
enabled x86_64 && AR=xiar
|
||||||
case ${tune_cpu} in
|
case ${tune_cpu} in
|
||||||
atom*)
|
atom*)
|
||||||
|
Loading…
Reference in New Issue
Block a user