]> git.ipfire.org Git - thirdparty/gcc.git/commit
modula2: gcc/m2/Make-lang.in fix includes during bootstrap build
authorGaius Mulley <gaiusmod2@gmail.com>
Mon, 16 Sep 2024 17:18:11 +0000 (18:18 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Mon, 16 Sep 2024 17:18:11 +0000 (18:18 +0100)
commit58bc39c73ca9aeca3d62d2d963be0121d0efeeac
treec09ad7f7603e203a97322b3434c59f6fd201bb96
parentf5448384a2134f32c8733b401440da11bfe69252
modula2: gcc/m2/Make-lang.in fix includes during bootstrap build

This patch fixes the include directories used when building objects in
gm2-compiler-boot.  It adds the missing gm2-gcc directory and uses a
new variable GM2_BOOT_INCLUDES for all gm2-compiler-boot rules.

gcc/m2/ChangeLog:

* Make-lang.in (GM2_BOOT_INCLUDES): New variable.
(m2/gm2-compiler-boot/M2GCCDeclare.o): Rewrite to use
GM2_BOOT_INCLUDES.
(m2/gm2-compiler-boot/M2Error.o): Ditto.
(m2/gm2-compiler-boot/%.o): Ditto.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/Make-lang.in