builder: pass -bt10 for tcc (phase 1 for using tcc_backtrace)
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…
Reference in New Issue