diff options
author | Matt Turner <mattst88@gmail.com> | 2012-05-10 16:15:34 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-05-10 16:15:34 -0400 |
commit | 2beabd9fed76de0023eb36b0c938b8803aa8d129 (patch) | |
tree | fb25b02e3a72e944cf1ae707fcb19328d772890f | |
parent | dadb9a318b8ca10c65e31e7278f4335a6968d246 (diff) |
configure.ac: make -march=loongson2f come before CFLAGS
Otherwise we'd have -march=loongson2f being overridden by automake's
CFLAGS ordering which causes build failures when -march=<not loongson2f>
is specified by the user.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 54787342..345bc333 100644 --- a/configure.ac +++ b/configure.ac @@ -281,7 +281,7 @@ have_loongson_mmi=no AC_MSG_CHECKING(whether to use Loongson MMI) xserver_save_CFLAGS=$CFLAGS -CFLAGS=" $CFLAGS $LS_CFLAGS" +CFLAGS=" $LS_CFLAGS $CFLAGS" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ #ifndef __mips_loongson_vector_rev #error "Loongson Multimedia Instructions are only available on Loongson" |