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

Collapse All | Expand All

(-)file_not_specified_in_diff (-20 / +1 lines)
Line  Link Here
0
-- setup.py.orig
0
++ setup.py
Lines 80-104 Link Here
80
    def run(self):
80
    def run(self):
81
        print("\n".join(get_boost_library_names()))
81
        print("\n".join(get_boost_library_names()))
82
82
83
84
cflags = sysconfig.get_config_var('CFLAGS')
85
sysconfig._config_vars['CFLAGS'] = re.sub(
86
    ' +', ' ', cflags.replace('-g', '').replace('-Os', '').replace('-arch i386', ''))
87
opt = sysconfig.get_config_var('OPT')
88
sysconfig._config_vars['OPT'] = re.sub(
89
    ' +', ' ', opt.replace('-g', '').replace('-Os', ''))
90
ldshared = sysconfig.get_config_var('LDSHARED')
91
sysconfig._config_vars['LDSHARED'] = re.sub(
92
    ' +', ' ', ldshared.replace('-g', '').replace('-Os', '').replace('-arch i386', ''))
93
ldflags = sysconfig.get_config_var('LDFLAGS')
94
sysconfig._config_vars['LDFLAGS'] = re.sub(
95
    ' +', ' ', ldflags.replace('-g', '').replace('-Os', '').replace('-arch i386', ''))
96
pycflags = sysconfig.get_config_var('PY_CFLAGS')
97
sysconfig._config_vars['PY_CFLAGS'] = re.sub(
98
    ' +', ' ', pycflags.replace('-g', '').replace('-Os', '').replace('-arch i386', ''))
99
sysconfig._config_vars['CFLAGSFORSHARED'] = ''
100
os.environ['ARCHFLAGS'] = ''
101
102
if os.environ.get("MASON_BUILD", "false") == "true":
83
if os.environ.get("MASON_BUILD", "false") == "true":
103
    # run bootstrap.sh to get mason builds
84
    # run bootstrap.sh to get mason builds
104
    subprocess.call(['./bootstrap.sh'])
85
    subprocess.call(['./bootstrap.sh'])

Return to bug 554892