commit 6b93b14fbaf15bfb1c42dfd1ac71151224cadf17
Author: Eon S. Jeon <[email protected]>
Date:   Tue Feb 3 13:22:04 2015 +0900

    support llvm-ar
    
    llvm-ar doesn't understand flags prefixed with dashes.

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

Reply via email to