We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b76e5 commit a411742Copy full SHA for a411742
configure.ac
@@ -66,7 +66,7 @@ if test $x86_64 = "yes"; then
66
$ac_cv_header_immintrin_h = "yes" ; then
67
AC_MSG_CHECKING(whether -march=westmere works)
68
BAKCFLAGS="$CFLAGS"
69
- CFLAGS="$CFLAGS -march=westmere"
+ CFLAGS="-march=westmere $CFLAGS"
70
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
71
AC_INCLUDES_DEFAULT
72
[
@@ -95,7 +95,7 @@ int main(int argc, char *argv[])
95
96
AC_MSG_CHECKING(whether -march=haswell works)
97
98
- CFLAGS="$CFLAGS -march=haswell"
+ CFLAGS="-march=haswell $CFLAGS"
99
100
101
0 commit comments