Add AR and RANLIB envs for exherbo multiarch.
commit2b0224aa2fcfaf3b3298bd071399a786c30dbd3f
authorChristopher Schwaab <christopher.schwaab@gmail.com>
dateThu 21 May 2015, 16:46 (11 years ago)
parent548b533
config.mk+3
@@ -1,4 +1,7 @@
11CC ?=cc
2+AR ?=ar
3+RANLIB ?=ranlib
4+
25CABAL :=cabal
36# IDRIS_ENABLE_STATS should not be set in final release
47# Any flags defined here which alter the RTS API must also be added to src/IRTS/CodegenC.hs
rts/Makefile+2−2
@@ -30,8 +30,8 @@ LIBTARGET = libidris_rts.a
3030build: $(LIBTARGET) $(DYLIBTARGET)
3131
3232$(LIBTARGET) : $(OBJS)
33− ar r $(LIBTARGET) $(OBJS)
34− ranlib $(LIBTARGET)
33+ $(AR) r $(LIBTARGET) $(OBJS)
34+ $(RANLIB) $(LIBTARGET)
3535
3636install :
3737 mkdir -p $(TARGET)