diff options
-rw-r--r-- | AUTHORS | 2 | ||||
-rw-r--r-- | configure.ac | 8 |
2 files changed, 8 insertions, 2 deletions
@@ -48,7 +48,7 @@ Mike Melanson <melanson@pcisys.net> Robin KAY <komadori@myrealbox.com> pgx64[fb] video output plugin, WVE demuxer, MNG demuxer, EA ADPCM - decoder, various bugfixes + decoder, SunPro compiler fixes, various bugfixes Stephen Torri <storri@users.sourceforge.net> Automake, autoconf, libtool development, and build fixes, diff --git a/configure.ac b/configure.ac index f95ccfae6..81e9c355b 100644 --- a/configure.ac +++ b/configure.ac @@ -950,7 +950,13 @@ case "$host_or_hostalias" in cc_debug_cflags="-O $cpu_cflags -funroll-loops -funroll-all-loops -finline-functions" AC_DEFINE_UNQUOTED(FPM_SPARC,,[Define to select libmad fixed point arithmetic implementation]) dnl uses gnu c asm extensions else - cc_optimize_cflags="-O" + case `uname -m` in + sun4c) cpu_cflags="-xarch=v7 -xchip=ultra2" ;; + sun4m) cpu_cflags="-xarch=v8 -xchip=ultra2" ;; + sun4u) cpu_cflags="-xarch=v8plusa -xchip=ultra2" ;; + esac + + cc_optimize_cflags="-xO5 $cpu_cflags -xCC" cc_debug_cflags="-O" AC_DEFINE_UNQUOTED(FPM_64BIT,,[Define to select libmad fixed point arithmetic implementation]) dnl use portable version with non-gcc fi |