fix —optimize and —debug-symbols configure flags

“execv() arg 2 must contain only strings”
This commit is contained in:
Robin Gareus 2014-12-18 10:22:45 +01:00
parent 7eab4c6f33
commit a45259b783
1 changed files with 2 additions and 2 deletions

View File

@ -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")