[hackers] [sbase] support llvm-ar || Eon S. Jeon

From: <git_AT_suckless.org>
Date: Tue, 3 Feb 2015 11:09:00 +0100 (CET)

commit 01d0de84a8ed9b593b02f8eb90933a959ac6c6c4
Author: Eon S. Jeon <esjeon_AT_hyunmu.am>
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
_AT_@ -156,11 +156,11 @@ $(OBJ): $(HDR) config.mk
         $(CC) $(CFLAGS) $(CPPFLAGS) -o $_AT_ -c $<
 
 $(LIBUTF): $(LIBUTFOBJ)
- $(AR) -r -c $_AT_ $?
+ $(AR) rc $_AT_ $?
         $(RANLIB) $_AT_
 
 $(LIBUTIL): $(LIBUTILOBJ)
- $(AR) -r -c $_AT_ $?
+ $(AR) rc $_AT_ $?
         $(RANLIB) $_AT_
 
 install: all
Received on Tue Feb 03 2015 - 11:09:00 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 03 2015 - 11:12:13 CET