commit 6b93b14fbaf15bfb1c42dfd1ac71151224cadf17
parent ff0347e39163d1ffe64103f1071a159c46615676
Author: Eon S. Jeon <esjeon@hyunmu.am>
Date: Tue, 3 Feb 2015 13:22:04 +0900
support llvm-ar
llvm-ar doesn't understand flags prefixed with dashes.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -156,11 +156,11 @@ $(OBJ): $(HDR) config.mk
$(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<
$(LIBUTF): $(LIBUTFOBJ)
- $(AR) -r -c $@ $?
+ $(AR) rc $@ $?
$(RANLIB) $@
$(LIBUTIL): $(LIBUTILOBJ)
- $(AR) -r -c $@ $?
+ $(AR) rc $@ $?
$(RANLIB) $@
install: all