From: Iain Buclaw Date: Wed, 31 Oct 2018 21:48:52 +0000 (+0000) Subject: Fix profiledbootstrap when D is enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4911c15c97820eeccc97aa73563c9605bba073a1;p=gcc.git Fix profiledbootstrap when D is enabled gcc/d/ChangeLog: 2018-10-31 Iain Buclaw PR d/87825 * Make-lang.in (d/idgen) Link with BUILD_LINKERFLAGS. (d/impcvgen): Likewise. From-SVN: r265702 --- diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index b90ba711e8d..394527e386a 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,9 @@ +2018-10-31 Iain Buclaw + + PR d/87825 + * Make-lang.in (d/idgen) Link with BUILD_LINKERFLAGS. + (d/impcvgen): Likewise. + 2018-10-26 Eugene Wissner * Make-lang.in (selftest-d): New. diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in index 79baf018889..4bab7dd5f1a 100644 --- a/gcc/d/Make-lang.in +++ b/gcc/d/Make-lang.in @@ -317,10 +317,10 @@ d/%.o: d/dmd/root/%.c $(D_GENERATED_SRCS) # Generated programs. d/idgen: d/idgen.dmdgen.o - +$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS) -o $@ $^ + +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ $^ d/impcvgen: d/impcnvgen.dmdgen.o - +$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS) -o $@ $^ + +$(LINKER_FOR_BUILD) $(BUILD_LINKERFLAGS) $(BUILD_LDFLAGS) -o $@ $^ # Generated sources. d/id.c: d/idgen