Introduction
Introduction Statistics Contact Development Disclaimer Help
build: Use ARFLAGS when creating libraries - sbase - suckless unix tools
git clone git://git.suckless.org/sbase
Log
Files
Refs
README
LICENSE
---
commit 893398754441b5f9d3435b99c3317acac4766e24
parent bb4a01e837195713d6ce2f4e66826cfc7bfa3713
Author: Roberto E. Vargas Caballero <[email protected]>
Date: Wed, 27 Sep 2023 07:24:14 +0200
build: Use ARFLAGS when creating libraries
ARFLAGS has the expected value for the toolchain used.
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -199,11 +199,11 @@ $(OBJ): $(HDR) config.mk
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
libutf.a: $(LIBUTFOBJ)
- $(AR) rc $@ $?
+ $(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
libutil.a: $(LIBUTILOBJ)
- $(AR) rc $@ $?
+ $(AR) $(ARFLAGS) $@ $?
$(RANLIB) $@
getconf.o: getconf.h
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.