ref: 8003cf92797860abee73081540ed26ae9caee219
parent: 6f4928101cefd948ccb41f78a237e337547ade57
parent: c0d673775a22de9f7108e2ab944ed5ddcf0e3c78
author: James Zern <[email protected]>
date: Wed Mar 19 15:33:53 EDT 2014
Merge "configure: test -m(mmx|sse|sse2|sse3) flags"
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1102,12 +1102,12 @@
esac
soft_enable runtime_cpu_detect
- soft_enable mmx
- soft_enable sse
- soft_enable sse2
- soft_enable sse3
# We can't use 'check_cflags' until the compiler is configured and CC is
# populated.
+ check_gcc_machine_option mmx
+ check_gcc_machine_option sse
+ check_gcc_machine_option sse2
+ check_gcc_machine_option sse3
check_gcc_machine_option ssse3
check_gcc_machine_option sse4 sse4_1
check_gcc_machine_option avx