summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_rtcd_defs.sh
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2013-08-05 17:28:52 -0700
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2013-08-05 17:35:25 -0700
commita93b115cd6e536587b5c5e78a4b79601206f26a0 (patch)
treee384a755943837b19d5deac5cdd07a29fffd4c4b /vp9/common/vp9_rtcd_defs.sh
parentd115cd8b124df6b0052da62dbdaf474069c6ff00 (diff)
downloadlibvpx-a93b115cd6e536587b5c5e78a4b79601206f26a0.tar
libvpx-a93b115cd6e536587b5c5e78a4b79601206f26a0.tar.gz
libvpx-a93b115cd6e536587b5c5e78a4b79601206f26a0.tar.bz2
libvpx-a93b115cd6e536587b5c5e78a4b79601206f26a0.zip
reworked config for use_x86_inc
Support enabling it or disabling it. Moved read out to configure.sh so that its done once instead of in make and in config. Change-Id: I73a9190cf31de9f03e8a577f478fa522f8c01c8b
Diffstat (limited to 'vp9/common/vp9_rtcd_defs.sh')
-rw-r--r--vp9/common/vp9_rtcd_defs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_rtcd_defs.sh b/vp9/common/vp9_rtcd_defs.sh
index 2b16cfaff..5ada2260d 100644
--- a/vp9/common/vp9_rtcd_defs.sh
+++ b/vp9/common/vp9_rtcd_defs.sh
@@ -21,7 +21,7 @@ EOF
forward_decls vp9_common_forward_decls
# x86inc.asm doesn't work if pic is enabled on 32 bit platforms so no assembly.
-[ $arch = "x86_64" -o ! "$CONFIG_PIC" = "yes" -o "$CONFIG_FORCE_X86INC" == "yes" ] && mmx_x86inc=mmx && sse2_x86inc=sse2 && ssse3_x86inc=ssse3
+[ "$CONFIG_USE_X86INC" = "yes" ] && mmx_x86inc=mmx && sse2_x86inc=sse2 && ssse3_x86inc=ssse3
# this variable is for functions that are 64 bit only.
[ $arch = "x86_64" ] && mmx_x86_64=mmx && sse2_x86_64=sse2 && ssse3_x86_64=ssse3