Fix little thinko in last change.
authordrepper <drepper>
Tue, 9 Sep 2003 02:30:15 +0000 (02:30 +0000)
committerdrepper <drepper>
Tue, 9 Sep 2003 02:30:15 +0000 (02:30 +0000)
Makefile

index 23e8b2f..19a1f88 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -229,7 +229,8 @@ tests-clean:
        @$(MAKE) subdir_testclean no_deps=t
 
 tests: $(objpfx)c++-types-check.out
-ifneq (no,$(CXX)$(wildcard scripts/data/c++-types-$(base-machine)-$(config-os).data))
+ifneq ($(CXX),no)
+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) > $@
 else
@@ -237,6 +238,7 @@ $(objpfx)c++-types-check.out:
        @echo 'WARNING C++ tests not run; create a c++-types-XXX file'
        @echo "not run" > $@
 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.