Skip to content

Commit

Permalink
Merge pull request #4822 from ony/master
Browse files Browse the repository at this point in the history
Make AR tool configurable
  • Loading branch information
MartinNowak committed Jul 22, 2015
2 parents f00318b + a8094aa commit 61f8146
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/posix.mak
Expand Up @@ -38,6 +38,7 @@ LDFLAGS=-lm -lstdc++ -lpthread
HOST_CC=g++
#endif
CC=$(HOST_CC)
AR=ar
GIT=git

# Host D compiler for bootstrapping
Expand Down Expand Up @@ -314,16 +315,16 @@ auto-tester-build: dmd checkwhitespace ddmd
.PHONY: auto-tester-build

frontend.a: $(DMD_OBJS)
ar rcs frontend.a $(DMD_OBJS)
$(AR) rcs frontend.a $(DMD_OBJS)

root.a: $(ROOT_OBJS)
ar rcs root.a $(ROOT_OBJS)
$(AR) rcs root.a $(ROOT_OBJS)

glue.a: $(GLUE_OBJS)
ar rcs glue.a $(GLUE_OBJS)
$(AR) rcs glue.a $(GLUE_OBJS)

backend.a: $(BACK_OBJS)
ar rcs backend.a $(BACK_OBJS)
$(AR) rcs backend.a $(BACK_OBJS)

ifdef ENABLE_LTO
dmd: $(DMD_OBJS) $(ROOT_OBJS) $(GLUE_OBJS) $(BACK_OBJS)
Expand Down

0 comments on commit 61f8146

Please sign in to comment.