On Tue, Jun 23, 2020 at 11:35:21AM -0400, David Edelsohn wrote:
> 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?

Another option is sinclude instead of -include, but no preference between
those.
Ok, thanks.

> 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.


        Jakub

Reply via email to