aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile3
-rw-r--r--config.mk1
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bd6e472..b885258 100644
--- a/Makefile
+++ b/Makefile
@@ -140,8 +140,7 @@ all: libzahl.a $(DOC)
$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<
libzahl.a: $(OBJ)
- $(AR) rc $@ $?
- $(RANLIB) $@
+ $(AR) -rcs $@ $?
test-random.c: test-generate.py
./test-generate.py > test-random.c
diff --git a/config.mk b/config.mk
index ad9c5c2..2a42d3c 100644
--- a/config.mk
+++ b/config.mk
@@ -9,7 +9,6 @@ DOCPREFIX = $(PREFIX)/share/doc
CC = cc
AR = ar
-RANLIB = ranlib
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -DGOOD_RAND
CFLAGS = -std=c99 -O3 -flto -Wall -pedantic