about summary refs log tree commit diff stats
path: root/subx/build
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 /subx/build
parent34e1828162deec95b1913b420e7aee605d68fa82 (diff)
downloadmu-ecbdc925d43f489e5c5b101900db88f9d260efe7.tar.gz
5476
Fix CI. Also kill compiler version mismatch bugs once and for all.
Diffstat (limited to 'subx/build')
-rwxr-xr-xsubx/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/build b/subx/build
index 8939c8b3..67479b92 100755
--- a/subx/build
+++ b/subx/build
@@ -21,7 +21,7 @@ UNTIL_LAYER=${2:-zzz}
 
 test "$CXX" || export CXX=c++
 test "$CC" || export CC=cc
-test "$CFLAGS" || export CFLAGS="-g -O3"
+test "$CFLAGS" || export CFLAGS="-g -O3 -std=c++98"  # CI has an ancient version; don't expect recent dialects
 export CFLAGS="$CFLAGS -Wall -Wextra -fno-strict-aliasing"
 
 # return 1 if $1 is older than _any_ of the remaining args