summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-04-04 11:40:09 (GMT)
committerJavier Jardón <jjardon@gnome.org>2017-04-27 07:27:08 (GMT)
commitdb425113dda59e22c3793cd2d51a828d3d43d524 (patch)
treee5a286a5e800cab57379d44cf295d0dd7fd00fd1
parent6bdc24e1e90b35246b1339307f56b2a694b7e6fb (diff)
downloaddefinitions-staging/jjardon/check_build.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
-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 c439a91..175cfde 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) \