configure: don't set -march=native for powerpc

pull/2137/head
Victor Julien 10 years ago
parent 0b6171854d
commit ffba26d04a

@ -364,6 +364,10 @@
AC_ARG_ENABLE(gccmarch_native,
AS_HELP_STRING([--enable-gccmarch-native], [Enable gcc march=native gcc 4.2 and later only]),,[enable_gccmarch_native=yes])
AS_IF([test "x$enable_gccmarch_native" = "xyes"], [
case "$host" in
*powerpc*)
;;
*)
OFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -march=native"
AC_MSG_CHECKING([checking if $CC supports -march=native])
@ -379,6 +383,8 @@
enable_gccmarch_native=no
]
)
;;
esac
])
# options

Loading…
Cancel
Save