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

cmd/tools/fast/fast.v: use -no-rsp for tcc (which may be much older on freebsd)

This commit is contained in:
Delyan Angelov 2021-08-15 10:42:34 +03:00
parent f7cbcc241a
commit b1186cca3f
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -62,7 +62,7 @@ fn main() {
$if freebsd { $if freebsd {
tcc_path = '/usr/local/bin/tcc' tcc_path = '/usr/local/bin/tcc'
} }
diff2 := measure('$vdir/vprod $voptions -cc $tcc_path -o v2 cmd/v', 'v2') diff2 := measure('$vdir/vprod $voptions -no-rsp -cc $tcc_path -o v2 cmd/v', 'v2')
diff3 := 0 // measure('$vdir/vprod -native $vdir/cmd/tools/1mil.v', 'native 1mil') diff3 := 0 // measure('$vdir/vprod -native $vdir/cmd/tools/1mil.v', 'native 1mil')
diff4 := measure('$vdir/vprod -usecache $voptions -cc clang examples/hello_world.v', diff4 := measure('$vdir/vprod -usecache $voptions -cc clang examples/hello_world.v',
'hello.v') 'hello.v')