diff options
author | James Zern <jzern@google.com> | 2012-12-20 14:05:19 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2012-12-20 14:08:59 -0800 |
commit | 3162b4f23c7c14d7436ebf11d00a69d83dcaa025 (patch) | |
tree | 9a5142f80d74bdd1a0a4bca158565cba14b53375 /build/make/configure.sh | |
parent | 1dffce7f969ff299244ddb5a707b6d63a0f1bb91 (diff) | |
download | libvpx-3162b4f23c7c14d7436ebf11d00a69d83dcaa025.tar libvpx-3162b4f23c7c14d7436ebf11d00a69d83dcaa025.tar.gz libvpx-3162b4f23c7c14d7436ebf11d00a69d83dcaa025.tar.bz2 libvpx-3162b4f23c7c14d7436ebf11d00a69d83dcaa025.zip |
configure: test for -msse4
not present in < GCC 4.2
Change-Id: I7b1a3078fd782644b1c432ce682d2160ffc2263a
Diffstat (limited to 'build/make/configure.sh')
-rwxr-xr-x | build/make/configure.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index e19efb03e..f43aefe21 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -1001,7 +1001,11 @@ EOF soft_enable sse2 soft_enable sse3 soft_enable ssse3 - soft_enable sse4_1 + if enabled gcc && ! disabled sse4_1 && ! check_cflags -msse4; then + RTCD_OPTIONS="${RTCD_OPTIONS}--disable-sse4_1 " + else + soft_enable sse4_1 + fi case ${tgt_os} in win*) |