mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
compile arg touchup
This commit is contained in:
parent
ba3ccb7635
commit
ffc513763f
5
setup.py
5
setup.py
@ -118,12 +118,17 @@ if not OS == "win":
|
||||
boosttype = 'nomt'
|
||||
else:
|
||||
boosttype = 'mt'
|
||||
removals = ['-g', '-Wstrict-prototypes']
|
||||
|
||||
if python_version == '2.5':
|
||||
cv_opt = sysconfig.get_config_vars()["CFLAGS"]
|
||||
for removal in removals:
|
||||
cv_opt = cv_opt.replace(removal, " ")
|
||||
sysconfig.get_config_vars()["CFLAGS"] = ' '.join(cv_opt.split())
|
||||
else:
|
||||
cv_opt = sysconfig.get_config_vars()["OPT"]
|
||||
for removal in removals:
|
||||
cv_opt = cv_opt.replace(removal, " ")
|
||||
sysconfig.get_config_vars()["OPT"] = ' '.join(cv_opt.split())
|
||||
else:
|
||||
boosttype = 'mt'
|
||||
|
Loading…
x
Reference in New Issue
Block a user