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

freebsd_build_tcc.sh: use an explicit --cc=clang

This commit is contained in:
Delyan Angelov 2021-08-15 11:43:25 +03:00
parent 3c553f16ed
commit e64a9fa592
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -10,7 +10,11 @@ pushd .
git clone git://repo.or.cz/tinycc.git
cd tinycc
./configure --prefix=thirdparty/tcc \
export CC=clang
./configure \
--cc=clang \
--prefix=thirdparty/tcc \
--bindir=thirdparty/tcc \
--crtprefix=thirdparty/tcc/lib:/usr/lib \
--libpaths=thirdparty/tcc/lib:/usr/lib:/lib:/usr/local/lib \