use -rdynamic only if host os is not windows
parent
5124eae47d
commit
fed9f01b2d
|
@ -40,7 +40,7 @@ fn (v mut V) cc() {
|
|||
a << '-g'
|
||||
}
|
||||
|
||||
if v.pref.is_debug {
|
||||
if v.pref.is_debug && os.user_os() != 'windows'{
|
||||
a << ' -rdynamic ' // needed for nicer symbolic backtraces
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue