From 6253da55c13be52a7f6cf2f038a051b397ca208f Mon Sep 17 00:00:00 2001 From: "Eon S. Jeon" Date: Tue, 3 Feb 2015 20:31:47 +0900 Subject: [PATCH] support llvm-ar 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 @@ -158,7 +158,7 @@ config.h: $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< $(LIBUTIL): $(LIBUTILOBJ) - $(AR) -r -c $@ $? + $(AR) rc $@ $? $(RANLIB) $@ install: all