summaryrefslogtreecommitdiff
path: root/strata/build-essential/stage1-gcc.morph
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-04-04 12:40:09 +0100
committerJavier Jardón <jjardon@gnome.org>2017-04-27 08:27:08 +0100
commitdb425113dda59e22c3793cd2d51a828d3d43d524 (patch)
treee5a286a5e800cab57379d44cf295d0dd7fd00fd1 /strata/build-essential/stage1-gcc.morph
parent6bdc24e1e90b35246b1339307f56b2a694b7e6fb (diff)
downloaddefinitions-db425113dda59e22c3793cd2d51a828d3d43d524.tar.gz
strata/build-essential/stage1-gcc.morph: set -std=gnu++98staging/jjardon/check_build
This will make possible to modern distros (with gcc 6) to build current baserock (which uses gcc 5) See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 Fixes #8
Diffstat (limited to 'strata/build-essential/stage1-gcc.morph')
-rw-r--r--strata/build-essential/stage1-gcc.morph2
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/build-essential/stage1-gcc.morph b/strata/build-essential/stage1-gcc.morph
index c439a912..175cfdee 100644
--- a/strata/build-essential/stage1-gcc.morph
+++ b/strata/build-essential/stage1-gcc.morph
@@ -34,7 +34,7 @@ configure-commands:
armv7*) ARCH_FLAGS="--with-arch=armv7-a" ;;
esac
- cd o && ../configure \
+ cd o && CXX="g++ -std=gnu++98" ../configure \
$ARCH_FLAGS \
--build=$(sh ../config.guess) \
--host=$(sh ../config.guess) \