summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-11-29 06:51:23 +0000
committerUlrich Drepper <drepper@redhat.com>2003-11-29 06:51:23 +0000
commit0a76d15e91c26aae360749b4eb75559971e4fcfb (patch)
tree946911ed79985714d682ff43fd6d72a409b0433a /Makefile
parent37369d1cefec4d1990e59fbec613d2bc66e68eba (diff)
Update.
2003-10-09 Steven Munroe <sjmunroe@us.ibm.com> * Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in addition to c++-types-$(base-machine)-$(config-os).data. * scripts/data/c++-types-powerpc-linux-gnu.data: New file. * scripts/data/c++-types-powerpc64-linux-gnu.data: New file.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 19a1f883f6..a261be265b 100644
--- a/Makefile
+++ b/Makefile
@@ -230,6 +230,10 @@ tests-clean:
tests: $(objpfx)c++-types-check.out
ifneq ($(CXX),no)
+ifneq (,$(wildcard scripts/data/c++-types-$(config-machine)-$(config-os).data))
+$(objpfx)c++-types-check.out: scripts/data/c++-types-$(config-machine)-$(config-os).data
+ scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
+else
ifneq (,$(wildcard scripts/data/c++-types-$(base-machine)-$(config-os).data))
$(objpfx)c++-types-check.out: scripts/data/c++-types-$(base-machine)-$(config-os).data
scripts/check-c++-types.sh $^ $(CXX) $(filter-out -std=gnu99,$(CFLAGS)) $(CPPFLAGS) > $@
@@ -239,6 +243,7 @@ $(objpfx)c++-types-check.out:
@echo "not run" > $@
endif
endif
+endif
# The realclean target is just like distclean for the parent, but we want
# the subdirs to know the difference in case they care.