ref: 225e09cab3a40322ffd4f764807da27ecf2a18dd
parent: dc92dab20a86f4d3a807ab1cbb6be265f4022212
author: Jonathan Lennox <[email protected]>
date: Tue May 31 11:52:37 EDT 2016
List intrinsics flags being tested after existing cflags, so they override other options. Signed-off-by: Jean-Marc Valin <[email protected]>
--- a/m4/opus-intrinsics.m4
+++ b/m4/opus-intrinsics.m4
@@ -15,7 +15,7 @@
$4=0
AC_MSG_RESULT([no])
AC_MSG_CHECKING([if compiler supports $1 intrinsics with $2])
- save_CFLAGS="$CFLAGS"; CFLAGS="$2 $CFLAGS"
+ save_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS $2"
AC_LINK_IFELSE([AC_LANG_PROGRAM($5, $6)],
[
AC_MSG_RESULT([yes])