about summary refs log tree commit diff stats
path: root/build0
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-25 13:40:42 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-25 13:59:17 -0700
commitecbdc925d43f489e5c5b101900db88f9d260efe7 (patch)
tree626f31eebe26ccdc527c5d999ac87375e472bb88 /build0
parent34e1828162deec95b1913b420e7aee605d68fa82 (diff)
downloadmu-ecbdc925d43f489e5c5b101900db88f9d260efe7.tar.gz
5476
Fix CI. Also kill compiler version mismatch bugs once and for all.
Diffstat (limited to 'build0')
-rwxr-xr-xbuild04
1 files changed, 2 insertions, 2 deletions
diff --git a/build0 b/build0
index 7c1c176f..c82e58a3 100755
--- a/build0
+++ b/build0
@@ -22,7 +22,7 @@ cd tangle
   grep -h "^\s*void test_" [0-9]*.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  > test_name_list
   # }
   # Now that we have all the _lists, compile 'tangle'
-  g++ -g -O2 boot.cc -o tangle
+  g++ -std=c++98 -g -O2 boot.cc -o tangle
   ./tangle test
 cd ..
 
@@ -41,6 +41,6 @@ grep -h "^[^[:space:]#].*) {$" mu.cc  |grep -v ":.*("  |sed 's/ {.*/;/'  > funct
 # auto-generate list of tests to run
 grep -h "^\s*void test_" mu.cc  |sed 's/^\s*void \(.*\)() {.*/\1,/'  > test_list
 grep -h "^\s*void test_" mu.cc  |sed 's/^\s*void \(.*\)() {.*/"\1",/'  > test_name_list
-g++ -g -O2 mu.cc termbox/libtermbox.a -o mu_bin
+g++ -std=c++98 -g -O2 mu.cc termbox/libtermbox.a -o mu_bin
 
 cat [0-9]*.mu > core.mu