mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
Conditionalize c++-types-check.out addition to tests-special.
This commit is contained in:
parent
0800411f9c
commit
1241b50b23
@ -1,5 +1,8 @@
|
||||
2016-03-04 Roland McGrath <roland@hack.frob.com>
|
||||
|
||||
* Makefile (tests-special): Add $(objpfx)c++-types-check.out only
|
||||
inside conditional for nonempty $(CXX).
|
||||
|
||||
* math/Makefile (tests): Add test-math-isinff only if $(CXX) is
|
||||
nonempty.
|
||||
|
||||
|
4
Makefile
4
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 > $@; \
|
||||
|
Loading…
Reference in New Issue
Block a user