diff options
author | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:41:05 +0000 |
---|---|---|
committer | Robin KAY <komadori@users.sourceforge.net> | 2002-12-22 00:41:05 +0000 |
commit | 57d21884c5d8bf693963972a0efba37f4c6fb124 (patch) | |
tree | a574733c73c21abaf80e29c02ecc677326e242f2 | |
parent | 614e17928e8f7b1bdc632fd934499cbfea165d8a (diff) | |
download | xine-lib-57d21884c5d8bf693963972a0efba37f4c6fb124.tar.gz xine-lib-57d21884c5d8bf693963972a0efba37f4c6fb124.tar.bz2 |
Make xine-lib compile with the SunPro compiler
CVS patchset: 3624
CVS date: 2002/12/22 00:41:05
-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 |