Only define certain debug flags when dist_target is auto
Fixes issue when cross compiling using MinGW
This commit is contained in:
parent
d76efc97a3
commit
808ee5d139
5
wscript
5
wscript
@ -120,8 +120,9 @@ def set_compiler_flags (conf,opt):
|
||||
debug_flags = [ '-pg' ]
|
||||
|
||||
if opt.backtrace:
|
||||
if platform != 'darwin' and not is_clang:
|
||||
debug_flags = [ '-rdynamic' ]
|
||||
if opt.dist_target == 'auto':
|
||||
if platform != 'darwin' and not is_clang:
|
||||
debug_flags = [ '-rdynamic' ]
|
||||
|
||||
# Autodetect
|
||||
if opt.dist_target == 'auto':
|
||||
|
Loading…
Reference in New Issue
Block a user