1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builder: pass -bt10 for tcc (phase 1 for using tcc_backtrace)

This commit is contained in:
Delyan Angelov 2020-06-08 10:33:57 +03:00
parent 08814d6de4
commit 8a16086084

View File

@ -336,6 +336,9 @@ fn (mut v Builder) cc() {
}
}
}
if is_cc_tcc {
a << '-bt10'
}
// Without these libs compilation will fail on Linux
// || os.user_os() == 'linux'
if !v.pref.is_bare && v.pref.build_mode != .build_module && v.pref.os in [ .linux, .freebsd,