commit 6253da55c13be52a7f6cf2f038a051b397ca208f
Author: Eon S. Jeon <[email protected]>
Date:   Tue Feb 3 20:31:47 2015 +0900

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

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

Reply via email to