diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2018-10-31 21:48:52 +0000 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gcc.gnu.org> | 2018-10-31 21:48:52 +0000 |
commit | 4911c15c97820eeccc97aa73563c9605bba073a1 (patch) | |
tree | 4396674104a699f6d71f8a6aafa6edb76386082f /gcc/d | |
parent | 73b6d7a990b6ac6d06213814adf9cbd074c46dd6 (diff) | |
download | gcc-4911c15c97820eeccc97aa73563c9605bba073a1.zip gcc-4911c15c97820eeccc97aa73563c9605bba073a1.tar.gz gcc-4911c15c97820eeccc97aa73563c9605bba073a1.tar.bz2 |
Fix profiledbootstrap when D is enabled
gcc/d/ChangeLog:
2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/87825
* Make-lang.in (d/idgen) Link with BUILD_LINKERFLAGS.
(d/impcvgen): Likewise.
From-SVN: r265702
Diffstat (limited to 'gcc/d')
-rw-r--r-- | gcc/d/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/d/Make-lang.in | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index b90ba71..394527e 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,9 @@ +2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org> + + PR d/87825 + * Make-lang.in (d/idgen) Link with BUILD_LINKERFLAGS. + (d/impcvgen): Likewise. + 2018-10-26 Eugene Wissner <belka@caraus.de> * Make-lang.in (selftest-d): New. diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in index 79baf01..4bab7dd 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 |