aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-03-04 15:07:12 -0800
committerRoland McGrath <roland@hack.frob.com>2016-03-04 15:07:12 -0800
commit1241b50b23f7079d38fd4018046917efa4bb0c10 (patch)
tree04b2b0ddc4641a1bf74af3835e7889c64ee0bcc6 /Makefile
parent0800411f9c7da44641a0399428f678c020de0eda (diff)
downloadglibc-1241b50b23f7079d38fd4018046917efa4bb0c10.zip
glibc-1241b50b23f7079d38fd4018046917efa4bb0c10.tar.gz
glibc-1241b50b23f7079d38fd4018046917efa4bb0c10.tar.bz2
Conditionalize c++-types-check.out addition to tests-special.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9c6918d..0732d48 100644
--- a/Makefile
+++ b/Makefile
@@ -251,16 +251,16 @@ mostlyclean: parent-mostlyclean
tests-clean:
@$(MAKE) subdir_testclean no_deps=t
-tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
-
ifneq (,$(CXX))
vpath c++-types.data $(+sysdep_dirs)
+tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
$(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh
scripts/check-c++-types.sh $< $(CXX) $(filter-out -std=gnu11 $(+gccwarn-c),$(CFLAGS)) $(CPPFLAGS) > $@; \
$(evaluate-test)
endif
+tests-special += $(objpfx)check-local-headers.out
$(objpfx)check-local-headers.out: scripts/check-local-headers.sh
AWK='$(AWK)' scripts/check-local-headers.sh \
"$(includedir)" "$(objpfx)" < /dev/null > $@; \