1
0
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:
unknown-v 2019-08-28 10:56:07 +02:00 committed by Alexander Medvednikov
parent 5124eae47d
commit fed9f01b2d

View File

@ -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
}