scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 8cfcf4a7328e7ea45e09708b256aab796d11b2bb
parent 999096d35f452f1594c10b4b2822d6c3e7f08813
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 17 Jan 2023 19:06:08 +0100

build: Set clang as default toolchain for FreeBSD

It seems that FreeBSD also uses clang as default toolchain
but the current BSD default uses gcc.

Diffstat:
Mscripts/config | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/config b/scripts/config @@ -8,6 +8,9 @@ NetBSD) #TODO: send a patch to NetBSD to solve this problem echo HOST=bsd ARFLAGS="${ARFLAGS:--rv}" ;; +FreeBSD) + echo TOOL=${TOOL:-clang} HOST=bsd + ;; *BSD) echo HOST=bsd ;;