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
-- 
2.1.4


Reply via email to