about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbuild_until2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_until b/build_until
index af35e929..4fa5b676 100755
--- a/build_until
+++ b/build_until
@@ -30,7 +30,7 @@ grep -h "^\s*TEST(" mu.cc |perl -pwe 's/^\s*TEST\((.*)\)$/void test_$1();/' >> f
 grep -h "^\s*void test_" mu.cc |perl -pwe 's/^\s*void (.*)\(\) \{.*/$1,/' > test_list
 grep -h "^\s*TEST(" mu.cc |perl -pwe 's/^\s*TEST\((.*)\)$/test_$1,/' >> test_list
 
-eval ${CXX:-c++} ${CFLAGS:-"-g -O3"} -Wall -Wextra -ftrapv -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu_bin
+eval ${CXX:-c++} ${CXXFLAGS:-"-g -O3"} -Wall -Wextra -ftrapv -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu_bin
 
 # build core.mu
 cat /dev/null $(./enumerate/enumerate --until ${1:-zzz} |grep '.mu$') > core.mu