aboutsummaryrefslogtreecommitdiff
path: root/libatomic
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2020-06-22 21:27:18 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2020-06-22 21:31:48 +0000
commit0164e59835de81d758fd4c56248ad7a46435fbfa (patch)
tree5f33fcb2b515b2ad7f2aeda7c50322d502936ee8 /libatomic
parent67f6ef3b3804a0ddc6926e992f6020ed95e11ea6 (diff)
downloadgcc-0164e59835de81d758fd4c56248ad7a46435fbfa.zip
gcc-0164e59835de81d758fd4c56248ad7a46435fbfa.tar.gz
gcc-0164e59835de81d758fd4c56248ad7a46435fbfa.tar.bz2
build: Use -include instead of conditional include.
Automake and GNU Make both use the endif keyword, which conflicts and elicits an error for matching if/ifdef and endif. This patch changes the conditional include to use "-include" to prevent a warning about a possible empty tmake_file. libgomp/ChangeLog 2020-06-22 David Edelsohn <dje.gcc@gmail.com> * Makefile.am: Use -include. * Makefile.in: Regenerate. libatomic/ChangeLog 2020-06-22 David Edelsohn <dje.gcc@gmail.com> * Makefile.am: Use -include. * Makefile.in: Regenerate. libstdc++-v3/ChangeLog 2020-06-22 David Edelsohn <dje.gcc@gmail.com> * Makefile.am: Use -include. * Makefile.in: Regenerate. libgfortran/ChangeLog 2020-06-22 David Edelsohn <dje.gcc@gmail.com> * Makefile.am: Use -include. * Makefile.in: Regenerate.
Diffstat (limited to 'libatomic')
-rw-r--r--libatomic/Makefile.am4
-rw-r--r--libatomic/Makefile.in4
2 files changed, 2 insertions, 6 deletions
diff --git a/libatomic/Makefile.am b/libatomic/Makefile.am
index f169d50..f540d59 100644
--- a/libatomic/Makefile.am
+++ b/libatomic/Makefile.am
@@ -154,8 +154,6 @@ all-multi: $(libatomic_la_LIBADD)
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
# target overrides
-ifneq ($(tmake_file),)
-include $(tmake_file)
-endif
+-include $(tmake_file)
include $(top_srcdir)/../multilib.am
diff --git a/libatomic/Makefile.in b/libatomic/Makefile.in
index e8d47f2..0a51bd5 100644
--- a/libatomic/Makefile.in
+++ b/libatomic/Makefile.in
@@ -864,9 +864,7 @@ all-multi: $(libatomic_la_LIBADD)
$(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE)
# target overrides
-ifneq ($(tmake_file),)
-include $(tmake_file)
-endif
+-include $(tmake_file)
# GNU Make needs to see an explicit $(MAKE) variable in the command it
# runs to enable its job server during parallel builds. Hence the