diff options
author | Yunqing Wang <yunqingwang@google.com> | 2013-10-11 18:57:22 -0700 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2013-10-11 20:17:59 -0700 |
commit | 51af8a5103ed0c1eccce95efceb0c0fc99cc0df3 (patch) | |
tree | 7a32db32fcd7056a91c612c0cd3d9fa158da75f9 /build/make | |
parent | 57b97b56f636f32b3bd20b4595ab368de8d859cf (diff) | |
download | libvpx-51af8a5103ed0c1eccce95efceb0c0fc99cc0df3.tar libvpx-51af8a5103ed0c1eccce95efceb0c0fc99cc0df3.tar.gz libvpx-51af8a5103ed0c1eccce95efceb0c0fc99cc0df3.tar.bz2 libvpx-51af8a5103ed0c1eccce95efceb0c0fc99cc0df3.zip |
Adjust icc compiler options
"-no-prec-div" option helps codec performance, so it was added back.
"-no-intel-extensions" was added to suppress link warning #10237.
option '-use-asm' is deprecated and removed.
Tested icc 32bit build and 64bit build.
Change-Id: I736ec2619857efd425ef76338dc52f8fbc0bcc7e
Diffstat (limited to 'build/make')
-rwxr-xr-x | build/make/configure.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index f3610218b..c6c866079 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1060,9 +1060,11 @@ EOF 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*) |