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
1
wscript
1
wscript
@ -120,6 +120,7 @@ def set_compiler_flags (conf,opt):
|
|||||||
debug_flags = [ '-pg' ]
|
debug_flags = [ '-pg' ]
|
||||||
|
|
||||||
if opt.backtrace:
|
if opt.backtrace:
|
||||||
|
if opt.dist_target == 'auto':
|
||||||
if platform != 'darwin' and not is_clang:
|
if platform != 'darwin' and not is_clang:
|
||||||
debug_flags = [ '-rdynamic' ]
|
debug_flags = [ '-rdynamic' ]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user