Skip to content

Commit

Permalink
Merge pull request #4837 from MartinNowak/ccompiler
Browse files Browse the repository at this point in the history
need to set CC env variable when using dmd
  • Loading branch information
WalterBright committed Jul 26, 2015
2 parents 057c76e + ef45ddc commit 56add65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/posix.mak
Expand Up @@ -387,7 +387,7 @@ idgen_output = id.h id.c
$(idgen_output) : idgen

idgen: idgen.d $(HOST_DC)
$(HOST_DC_RUN) idgen.d
CC=$(HOST_CC) $(HOST_DC_RUN) idgen.d
./idgen

######### impcnvgen generates some source
Expand Down Expand Up @@ -484,7 +484,7 @@ install: all
######################################################

checkwhitespace: $(HOST_DC)
$(HOST_DC_RUN) -run checkwhitespace $(SRC) $(GLUE_SRC) $(ROOT_SRC)
CC=$(HOST_CC) $(HOST_DC_RUN) -run checkwhitespace $(SRC) $(GLUE_SRC) $(ROOT_SRC)

######################################################

Expand Down Expand Up @@ -590,7 +590,7 @@ MAGICPORTSRC = \
MAGICPORT = $(MAGICPORTDIR)/magicport2

$(MAGICPORT) : $(MAGICPORTSRC) $(HOST_DC)
$(HOST_DC_RUN) -of$(MAGICPORT) $(MAGICPORTSRC)
CC=$(HOST_CC) $(HOST_DC_RUN) -of$(MAGICPORT) $(MAGICPORTSRC)

GENSRC=access.d aggregate.d aliasthis.d apply.d \
argtypes.d arrayop.d arraytypes.d \
Expand Down

0 comments on commit 56add65

Please sign in to comment.