about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2016-03-04 13:22:00 -0800
committerRoland McGrath <roland@hack.frob.com>2016-03-04 13:22:00 -0800
commit00db8bf4dbda2791e3a7a6666e6a6520f1c38534 (patch)
tree58228257274252d4aa6a965946bd23c614859c45
parent97f7112728fa6f5e2b30af4d085d5f4dedb2b89b (diff)
downloadglibc-00db8bf4dbda2791e3a7a6666e6a6520f1c38534.tar.gz
glibc-00db8bf4dbda2791e3a7a6666e6a6520f1c38534.tar.xz
glibc-00db8bf4dbda2791e3a7a6666e6a6520f1c38534.zip
Fix c++-types-check conditionalization.
-rw-r--r--ChangeLog5
-rw-r--r--Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59e8feb40d..30785eb1c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-04  Roland McGrath  <roland@hack.frob.com>
+
+	* Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
+	to test for empty $(CXX) rather than $(CXX) of "no".
+
 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
diff --git a/Makefile b/Makefile
index 7fc92ae3a2..9c6918d995 100644
--- a/Makefile
+++ b/Makefile
@@ -252,8 +252,8 @@ tests-clean:
 	@$(MAKE) subdir_testclean no_deps=t
 
 tests-special += $(objpfx)c++-types-check.out $(objpfx)check-local-headers.out
-ifneq ($(CXX),no)
 
+ifneq (,$(CXX))
 vpath c++-types.data $(+sysdep_dirs)
 
 $(objpfx)c++-types-check.out: c++-types.data scripts/check-c++-types.sh