summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorJory A. Pratt <anarchy@gentoo.org>2013-08-11 14:44:59 (GMT)
committerJason Evans <je@fb.com>2013-08-19 16:57:59 (GMT)
commitad505e0ec622883fbb0650763ea8b54f64a770c9 (patch)
treeab819856e363a2d117f67f4476a4d56a5743a5ec /Makefile.in
parent0ed518e5dab789ad2171bb38977a8927e2a26775 (diff)
downloadjemalloc-ad505e0ec622883fbb0650763ea8b54f64a770c9.zip
jemalloc-ad505e0ec622883fbb0650763ea8b54f64a770c9.tar.gz
jemalloc-ad505e0ec622883fbb0650763ea8b54f64a770c9.tar.bz2
Allow toolchain to determine ar
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7481047..478becb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)