[dev] [PATCH] support llvm-ar

From: Eon S. Jeon <esjeon_AT_hyunmu.am>
Date: Tue, 3 Feb 2015 13:22:04 +0900

llvm-ar doesn't understand flags prefixed with dashes.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index d6df4d6..81cb71e 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -156,11 +156,11 @@ $(OBJ): $(HDR) config.mk
 	$(CC) $(CFLAGS) $(CPPFLAGS) -o $_AT_ -c $<
 
 $(LIBUTF): $(LIBUTFOBJ)
-	$(AR) -r -c $_AT_ $?
+	$(AR) rc $_AT_ $?
 	$(RANLIB) $_AT_
 
 $(LIBUTIL): $(LIBUTILOBJ)
-	$(AR) -r -c $_AT_ $?
+	$(AR) rc $_AT_ $?
 	$(RANLIB) $_AT_
 
 install: all
-- 
2.1.4
Received on Tue Feb 03 2015 - 05:22:04 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 03 2015 - 05:36:03 CET