Commit 7576bd7c authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

compile with the right options on sparc64.

its a shame that we need these - on the other hand, it makes a big
difference (>50%) and libmpeg2 would be *really* slow on anything less
than an ultrasparc.
parent 21162bd7
......@@ -44,8 +44,8 @@ if test x"$GCC" = x"yes"; then
OPT_CFLAGS="$CFLAGS -Wa,-m7400"
AC_TRY_CFLAGS([$OPT_CFLAGS],
[CFLAGS=$OPT_CFLAGS; AC_DEFINE([ARCH_PPC],,[ppc architecture])]);;
sparc-*)
OPT_CFLAGS="$CFLAGS -mcpu=ultrasparc -mvis"
sparc-* | sparc64-*)
OPT_CFLAGS="$CFLAGS -mcpu=ultrasparc -mvis -Wa,-Av9"
AC_TRY_CFLAGS([$OPT_CFLAGS],[CFLAGS=$OPT_CFLAGS]);;
mips-sgi-irix6.*) dnl do we need to be that specific ?
OPT_CFLAGS="$CFLAGS -mabi=64"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment