This patch removes ifneq from Makefile fragments in gcc/Makefile.in
and empty.mk in libgcc/Makefile.in.

GNU Make supports the "-include" keyword to prevent warnings and errors due to
inclusion of non-existent files.  This patch changes gcc/ and libgcc/ to use
"-include" in place of the historical conditional inclusion and use of empty.mk
work-arounds.  This makes the GCC build machinery more consistent
across languages and target libraries.

Bootstrapped on powerpc64le-gnu-linux and powerpc-ibm-aix7.2.0.0

Okay?

Thanks, David

gcc/ChangeLog

        * Makefile.in (tmake_file): Use -include.
        (xmake_file): Same.
        (LANG_MAKEFRAGS): Same.

libgcc/ChangeLog

        * Makefile.in: Remove uses of empty.mk. Use -include.
        * config/avr/t-avr: Use -include.
        * empty.mk: Delete.

Attachment: 0001-build-Change-conditional-include-and-empty.mk-to-inc.patch
Description: Binary data

Reply via email to