[opus] [PATCH 2/2] List intrinsics flags being tested after existing cflags, so they override other options.

Jonathan Lennox jonathan at vidyo.com
Tue May 31 19:52:37 UTC 2016


---
 m4/opus-intrinsics.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/opus-intrinsics.m4 b/m4/opus-intrinsics.m4
index b93ddd3..a262ca1 100644
--- a/m4/opus-intrinsics.m4
+++ b/m4/opus-intrinsics.m4
@@ -15,7 +15,7 @@ AC_DEFUN([OPUS_CHECK_INTRINSICS],
         $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])
-- 
2.7.4 (Apple Git-66)



More information about the opus mailing list