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

From: <git_AT_suckless.org>
Date: Tue, 24 Mar 2015 23:53:33 +0100 (CET)

commit 6b93b14fbaf15bfb1c42dfd1ac71151224cadf17
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 Mar 24 2015 - 23:53:33 CET

This archive was generated by hypermail 2.3.0 : Wed Mar 25 2015 - 00:07:15 CET