build/libc: Use scc-ranlib - 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 fc170495f7e645ac620e28c546cdd7401d1668c7
DIR parent 887b0bef5f76997de2bdbd2a91168dde357821d1
HTML Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Fri, 8 May 2026 19:32:01 +0200
build/libc: Use scc-ranlib
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
@@ -29,6 +29,7 @@ MANDIR = $(PROJECTDIR)/share/man
SCC = $(BINDIR)/scc
SCC_AR = $(BINDIR)/scc-ar
+SCC_RANLIB= $(BINDIR)/scc-ranlib
# library dependences helpers
LIBMACH = $(LIBDIR)/scc/libmach.a
DIR diff --git a/src/libc/rules.mk b/src/libc/rules.mk
@@ -8,6 +8,7 @@ MORE_ARFLAGS = -u
MORE_CFLAGS = $(TOOL_LIBC_CFLAGS) $(NOPIE_CFLAGS)
CC=$(SCC)
AR=$(SCC_AR)
+RANLIB=$(SCC_RANLIB)
SYSERRNO = $(INCDIR)/bits/$(SYS)/sys/errno.h