scc

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

commit 49e32bc0eead3e6a85d284a7bbfada253e813b13
parent 77f0a2c2cff21b19223f8fae93b8344d7e57972a
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date:   Wed,  6 May 2026 10:51:42 +0200

build/openbsd: Use scc_clang libprofile by default

Openbsd as is an old version of gas, and qbe emits some syntax that
is not accepted by openbsd as. The libprofile scc_clang was added
long time ago to support openbsd better, so it makes sense to use
it by default.

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

diff --git a/scripts/config b/scripts/config @@ -13,6 +13,7 @@ openbsd) echo HOST=obsd echo ARFLAGS="${ARFLAGS:--rv}" echo NOPIE_LDFLAGS=-no-pie + LIBPROFILE=${LIBPROFILE:-scc_clang} ;; netbsd) #TODO: send a patch to NetBSD to solve this problem