--- SConstruct 2008-02-06 18:54:40.000000000 +0100 +++ SConstruct.oden 2008-03-09 13:22:57.000000000 +0100 @@ -34,7 +34,7 @@ BoolOption('OLDFONTS', 'Old school font sizes', 0), BoolOption('DEBUG', 'Set to build with debugging information and no optimizations', 0), PathOption('DESTDIR', 'Set the intermediate install "prefix"', '/'), - EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'tiger', 'panther', 'leopard', 'none' ), ignorecase=2), + EnumOption('DIST_TARGET', 'Build target for cross compiling packagers', 'auto', allowed_values=('auto', 'i386', 'i686', 'x86_64', 'powerpc', 'powerpc64', 'tiger', 'panther', 'leopard', 'none' ), ignorecase=2), BoolOption('DMALLOC', 'Compile and link using the dmalloc library', 0), BoolOption('EXTRA_WARN', 'Compile with -Wextra, -ansi, and -pedantic. Might break compilation. For pedants', 0), BoolOption('FFT_ANALYSIS', 'Include FFT analysis window', 0), @@ -712,7 +712,7 @@ # handle x86/x86_64 libdir properly -if env['DIST_TARGET'] == 'x86_64': +if env['DIST_TARGET'] == 'x86_64' or env['DIST_TARGET'] == 'powerpc64': env['LIBDIR']='lib64' else: env['LIBDIR']='lib' @@ -742,18 +742,6 @@ if env['ARCH'] != '': opt_flags = env['ARCH'].split() -# -# prepend boiler plate optimization flags -# - -opt_flags[:0] = [ - "-O3", - "-fomit-frame-pointer", - "-ffast-math", - "-fstrength-reduce", - "-pipe" - ] - if env['DEBUG'] == 1: env.Append(CCFLAGS=" ".join (debug_flags)) env.Append(LINKFLAGS=" ".join (debug_flags))