Allow toolchain to determine ar

This commit is contained in:
Jory A. Pratt
2013-08-11 09:44:59 -05:00
committed by Jason Evans
parent 0ed518e5da
commit ad505e0ec6
2 changed files with 10 additions and 4 deletions

View File

@@ -55,6 +55,8 @@ PIC_CFLAGS = @PIC_CFLAGS@
CTARGET = @CTARGET@
LDTARGET = @LDTARGET@
MKLIB = @MKLIB@
AR = @AR@
ARFLAGS = crus
CC_MM = @CC_MM@
ifeq (macho, $(ABI))
@@ -185,7 +187,7 @@ $(objroot)lib/$(LIBJEMALLOC)_s.$(A) : $(COBJS)
$(STATIC_LIBS):
@mkdir -p $(@D)
$(MKLIB) $+
$(AR) $(ARFLAGS) $@ $+
$(objroot)test/bitmap$(EXE): $(objroot)src/bitmap.$(O)