Add x86_64-linux-icc target to build VP8 with icc
authorYunqing Wang <yunqingwang@google.com>
Thu, 17 Jun 2010 17:34:19 +0000 (13:34 -0400)
committerYunqing Wang <yunqingwang@google.com>
Fri, 18 Jun 2010 17:18:25 +0000 (13:18 -0400)
Add a target for icc.

Change-Id: Ia1db82373d9c7268848bbb65c9483d408b9d933f

build/make/configure.sh
configure

index 05e550f..b22fbba 100755 (executable)
@@ -797,6 +797,8 @@ process_common_toolchain() {
                 setup_gnu_toolchain
                 add_cflags -use-msasm -use-asm
                 add_ldflags -i-static
+                enabled x86_64 && add_cflags -ipo -no-prec-div -static -xSSE3 -axSSE3
+                enabled x86_64 && AR=xiar
                 ;;
             gcc*)
                 add_cflags  -m${bits}
index 9a3269a..f68f018 100755 (executable)
--- a/configure
+++ b/configure
@@ -109,6 +109,7 @@ all_platforms="${all_platforms} x86-win32-vs7"
 all_platforms="${all_platforms} x86-win32-vs8"
 all_platforms="${all_platforms} x86_64-darwin9-gcc"
 all_platforms="${all_platforms} x86_64-linux-gcc"
+all_platforms="${all_platforms} x86_64-linux-icc"
 all_platforms="${all_platforms} x86_64-solaris-gcc"
 all_platforms="${all_platforms} x86_64-win64-vs8"
 all_platforms="${all_platforms} universal-darwin8-gcc"