]> git.ipfire.org Git - thirdparty/gcc.git/commit
Refactored some rules in Make-lang.in and portfix calcpath.
authorGaius Mulley <gaius.mulley@southwales.ac.uk>
Sun, 15 May 2022 12:06:05 +0000 (13:06 +0100)
committerGaius Mulley <gaius.mulley@southwales.ac.uk>
Sun, 15 May 2022 12:06:05 +0000 (13:06 +0100)
commit22ba1fbccebecd08eadee1fd505ba27ebd0326a3
treed457affa4187b9e376fcde73b313d8fb9670b8d6
parentdb1ed08b563e57a90454252496d16b31faa5aceb
Refactored some rules in Make-lang.in and portfix calcpath.

Removed the -e option to realpath in the calcpath tool so
that gm2 builds on FreeBSD.  Also refactored some of the
rules in Make-lang.in and added and tidied up some of the
comments.

gcc/m2/ChangeLog:

* m2/Make-lang.in (GCC_HEADER_DEPENDENCIES_FOR_M2): New define.
m2/gm2-gcc/%.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a dependent.
m2/gm2-lang.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a dependent.
m2/stor-layout.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a
dependent.
m2/m2pp.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a
dependent.
m2/gm2-gcc/rtegraph.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a
dependent.
c-family/m2pp.o: Add GCC_HEADER_DEPENDENCIES_FOR_M2 as a
dependent.  Added new comments.
* m2/tools-src/calcpath: Remove -e option to realpath
to help the build on FreeBSD.

Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
gcc/m2/Make-lang.in
gcc/m2/tools-src/calcpath