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:
parent
08814d6de4
commit
8a16086084
@ -336,6 +336,9 @@ fn (mut v Builder) cc() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if is_cc_tcc {
|
||||||
|
a << '-bt10'
|
||||||
|
}
|
||||||
// Without these libs compilation will fail on Linux
|
// Without these libs compilation will fail on Linux
|
||||||
// || os.user_os() == 'linux'
|
// || os.user_os() == 'linux'
|
||||||
if !v.pref.is_bare && v.pref.build_mode != .build_module && v.pref.os in [ .linux, .freebsd,
|
if !v.pref.is_bare && v.pref.build_mode != .build_module && v.pref.os in [ .linux, .freebsd,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user