mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
use -rdynamic only if host os is not windows
This commit is contained in:
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
Block a user