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

pull/11187/head
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
1 changed files with 5 additions and 1 deletions

View File

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