Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 277983 | Differences between
and this patch

Collapse All | Expand All

(-)SConstruct.orig (-6 / +10 lines)
Lines 32-37 Link Here
32
opts = Options('scache.conf')
32
opts = Options('scache.conf')
33
opts.AddOptions(
33
opts.AddOptions(
34
    ('ARCH', 'Set architecture-specific compilation flags by hand (all flags as 1 argument)',''),
34
    ('ARCH', 'Set architecture-specific compilation flags by hand (all flags as 1 argument)',''),
35
    ('CFLAGS', 'Set custom CFLAGS',''),
35
    ('WINDOWS_KEY', 'Set X Modifier (Mod1,Mod2,Mod3,Mod4,Mod5) for "Windows" key', 'Mod4><Super'),
36
    ('WINDOWS_KEY', 'Set X Modifier (Mod1,Mod2,Mod3,Mod4,Mod5) for "Windows" key', 'Mod4><Super'),
36
    BoolOption('AUDIOUNITS', 'Compile with Apple\'s AudioUnit library. (experimental)', 0),
37
    BoolOption('AUDIOUNITS', 'Compile with Apple\'s AudioUnit library. (experimental)', 0),
37
    BoolOption('COREAUDIO', 'Compile with Apple\'s CoreAudio library', 0),
38
    BoolOption('COREAUDIO', 'Compile with Apple\'s CoreAudio library', 0),
Lines 794-805 Link Here
794
# prepend boiler plate optimization flags
795
# prepend boiler plate optimization flags
795
#
796
#
796
797
797
opt_flags[:0] = [
798
if env['CFLAGS'] != '':
798
    "-O3",
799
    opt_flags[:0]=env['CFLAGS'].split()
799
    "-fomit-frame-pointer",
800
else:
800
    "-ffast-math",
801
    opt_flags[:0] = [
801
    "-fstrength-reduce",
802
        "-O3",
802
    "-pipe"
803
        "-fomit-frame-pointer",
804
        "-ffast-math",
805
        "-fstrength-reduce",
806
        "-pipe"
803
    ]
807
    ]
804
808
805
if env['DEBUG'] == 1:
809
if env['DEBUG'] == 1:

Return to bug 277983