[dev] [PATCH] support llvm-ar

From: Eon S. Jeon <esjeon_AT_hyunmu.am>
Date: Tue, 3 Feb 2015 20:31:47 +0900

llvm-ar doesn't understand flags prefixed with dashes.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a74824f..0621eb5 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -158,7 +158,7 @@ config.h:
 	$(CC) $(CFLAGS) $(CPPFLAGS) -o $_AT_ -c $<
 
 $(LIBUTIL): $(LIBUTILOBJ)
-	$(AR) -r -c $_AT_ $?
+	$(AR) rc $_AT_ $?
 	$(RANLIB) $_AT_
 
 install: all
-- 
2.1.4
Received on Tue Feb 03 2015 - 12:31:47 CET

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