diff options
author | Maciej W. Rozycki <macro@orcam.me.uk> | 2024-11-23 14:02:42 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@orcam.me.uk> | 2024-11-23 14:02:42 +0000 |
commit | 38cbee0b3c8da58c7e195c582867ffacee3b0850 (patch) | |
tree | 7757bb71c21f12bfbcdb8d31794c646b01cbe5d6 /gcc/ada | |
parent | c4073a3d1541f77114ec94698eb29dcdb10ef421 (diff) | |
download | gcc-38cbee0b3c8da58c7e195c582867ffacee3b0850.zip gcc-38cbee0b3c8da58c7e195c582867ffacee3b0850.tar.gz gcc-38cbee0b3c8da58c7e195c582867ffacee3b0850.tar.bz2 |
build: Discard obsolete references to $(GCC_PARTS)
The $(GCC_PARTS) variable was deleted with the Makefile rework in commit
fa9585134f6f ("libgcc move to the top level")[1] back in 2007, and yet
the Ada and Modula 2 frontends added references to this variable later
on, with commit e972fd5281b7 ("[Ada] clean ups in Makefiles")[2] back in
2011 and commit 1eee94d35177 ("Merge modula-2 front end onto gcc.") back
in 2022 respectively.
I guess it's because the frontends lived too long externally. Discard
the references then, they serve no purpose nowadays.
References:
[1] <https://inbox.sourceware.org/gcc-patches/20061219191730.GA32355@nevyn.them.org/>
[2] <https://inbox.sourceware.org/gcc-patches/20110906151510.GA5213@adacore.com/>
gcc/ada/
* gcc-interface/Make-lang.in (gnattools): Remove $(GCC_PARTS).
gcc/m2/
* Make-lang.in (m2 modula-2 modula2): Remove $(GCC_PARTS).
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/gcc-interface/Make-lang.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in index 0b8f2dd..f3009f1 100644 --- a/gcc/ada/gcc-interface/Make-lang.in +++ b/gcc/ada/gcc-interface/Make-lang.in @@ -793,7 +793,7 @@ gnatbind$(exeext): ada/b_gnatb.o $(CONFIG_H) $(GNATBIND_OBJS) $(EXTRA_HOST_OBJS) +$(GCC_LINK) -o $@ $(CFLAGS) ada/b_gnatb.o $(GNATBIND_OBJS) $(EXTRA_HOST_OBJS) ggc-none.o libcommon-target.a $(LIBS) $(SYSLIBS) $(GNATLIB) # use target-gcc target-gnatmake target-gnatbind target-gnatlink -gnattools: $(GCC_PARTS) $(CONFIG_H) prefix.o force +gnattools: $(CONFIG_H) prefix.o force $(MAKE) -C ada $(ADA_TOOLS_FLAGS_TO_PASS) gnattools1 $(MAKE) -C ada $(ADA_TOOLS_FLAGS_TO_PASS) gnattools2 |