fix —optimize and —debug-symbols configure flags
“execv() arg 2 must contain only strings”
This commit is contained in:
parent
7eab4c6f33
commit
a45259b783
4
wscript
4
wscript
@ -470,10 +470,10 @@ int main() { return 0; }''',
|
||||
break
|
||||
|
||||
if prepend_opt_flags:
|
||||
optimization_flags[:0] = [ flags_dict['full-optimization'] ]
|
||||
optimization_flags[:0] = flags_dict['full-optimization']
|
||||
|
||||
if opt.debug_symbols:
|
||||
optimization_flags += [ flags_dict['debuggable'] ]
|
||||
optimization_flags += flags_dict['debuggable']
|
||||
|
||||
if opt.stl_debug:
|
||||
cxx_flags.append("-D_GLIBCXX_DEBUG")
|
||||
|
Loading…
Reference in New Issue
Block a user