build/libc: Use scc ar - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 77f7bee754210661f4bcf5cdcdebdb3058bb8a8b
DIR parent f1fd6cc9a7ab7a9e2154674f5b59118b58727dad
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Wed, 6 May 2026 20:28:43 +0200
build/libc: Use scc ar
Diffstat:
M scripts/rules.mk | 1 +
M src/libc/rules.mk | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
DIR diff --git a/scripts/rules.mk b/scripts/rules.mk
@@ -28,6 +28,7 @@ CMDDIR = $(SRCDIR)/cmd
MANDIR = $(PROJECTDIR)/share/man
SCC = $(BINDIR)/scc
+SCC_AR = $(BINDIR)/scc-ar
# library dependences helpers
LIBMACH = $(LIBDIR)/scc/libmach.a
DIR diff --git a/src/libc/rules.mk b/src/libc/rules.mk
@@ -7,6 +7,7 @@ CPPINCLUDES =\
MORE_ARFLAGS = -u
MORE_CFLAGS = $(TOOL_LIBC_CFLAGS) $(NOPIE_CFLAGS)
CC=$(SCC)
+AR=$(SCC_AR)
SYSERRNO = $(INCDIR)/bits/$(SYS)/sys/errno.h