mirror of
https://github.com/vlang/v.git
synced 2025-09-13 09:25:45 -04:00
tools: default to -cc clang
on FreeBSD in cmd/tools/vtest_test.v
(#21534)
This commit is contained in:
parent
404f93e229
commit
774253eeef
@ -13,7 +13,11 @@ fn testsuite_end() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn testsuite_begin() {
|
fn testsuite_begin() {
|
||||||
os.setenv('VFLAGS', '', true)
|
$if freebsd {
|
||||||
|
os.setenv('VFLAGS', '-cc clang', true)
|
||||||
|
} $else {
|
||||||
|
os.setenv('VFLAGS', '', true)
|
||||||
|
}
|
||||||
os.setenv('VCOLORS', 'never', true)
|
os.setenv('VCOLORS', 'never', true)
|
||||||
os.setenv('VJOBS', '2', true)
|
os.setenv('VJOBS', '2', true)
|
||||||
os.rmdir_all(tpath) or {}
|
os.rmdir_all(tpath) or {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user