]> git.saurik.com Git - bison.git/blobdiff - tests/local.mk
tests: when using the C++ compiler, use its flags too.
[bison.git] / tests / local.mk
index 183c371d82d3f1768ae132d9f5466088a407d6fe..12668c4187e6b0bfcc776eaacbdc37a5bdfee598 100644 (file)
@@ -97,8 +97,8 @@ installcheck-local: $(RUN_TESTSUITE_deps)
 
 # Be real mean with it.
 .PHONY: maintainer-check-g++
-       $(RUN_TESTSUITE) CC='$(CXX)'
 maintainer-check-g++: $(RUN_TESTSUITE_deps)
+       $(RUN_TESTSUITE) --compile-c-with-cxx
 
 .PHONY: maintainer-check-posix
 maintainer-check-posix: $(RUN_TESTSUITE_deps)