aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 3496a1f..54cc9f2 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -130,5 +130,8 @@ src="$src build2/install/*.cxx"
src="$src build2/pkgconfig/*.cxx"
src="$src $libbutl/butl/*.cxx"
+# Note that for as long as we support GCC 4.9 we have to compile in the C++14
+# mode since 4.9 doesn't recognize c++1z.
+#
set -x
"$cxx" "-I$libbutl" -I. '-DBUILD2_HOST_TRIPLET="'"$host"'"' -std=c++1y "$@" -o build2/b-boot $src -lpthread