From 24ec38c7e028723f84ab15ca0ecef6e56a899aea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Dec 2016 10:03:11 +0200 Subject: Add support for cxx.std=latest, use when building build2 --- bootstrap.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bootstrap.sh') 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 -- cgit v1.1