about summary refs log tree commit diff stats
path: root/mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-08-28 23:52:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-08-28 23:52:07 -0700
commitc5d5431990361c921dc850d078d85a797d219e06 (patch)
treea1a61461c1dd8b8ed7751dcec27dd075af44f04e /mu
parent4e39c6bb082d6f7c0aaab9767b9b279490bce290 (diff)
downloadmu-c5d5431990361c921dc850d078d85a797d219e06.tar.gz
3275
Follow convention more closely by using CXXFLAGS for C++ files.
Diffstat (limited to 'mu')
-rwxr-xr-xmu4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu b/mu
index 71827c49..409a0997 100755
--- a/mu
+++ b/mu
@@ -9,7 +9,7 @@ make -q || make >&2 || exit 1
 # disabling optimizations. In that case don't run all tests if I load any app
 # files.
 # Might be too clever..
-if [[ $CFLAGS && $# -gt 0 && $1 != '--help' ]]  # latter two conditions are to continue printing the help message
+if [[ $CXXFLAGS && $# -gt 0 && $1 != '--help' ]]  # latter two conditions are to continue printing the help message
 then
   ./mu_bin --test-only-app "$@"
   exit 1
@@ -22,4 +22,4 @@ fi
 #   mu --help
 #   mu test
 #   mu test file1.mu
-#   CFLAGS=-g mu test file1.mu  # run only tests in file1.mu
+#   CXXFLAGS=-g mu test file1.mu  # run only tests in file1.mu