From: Matt Turner Date: Thu, 10 May 2012 20:15:34 +0000 (-0400) Subject: configure.ac: make -march=loongson2f come before CFLAGS X-Git-Tag: pixman-0.25.6~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2beabd9fed76de0023eb36b0c938b8803aa8d129;p=platform%2Fupstream%2Fpixman.git 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= is specified by the user. --- diff --git a/configure.ac b/configure.ac index 5478734..345bc33 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"