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


Reply via email to