summaryrefslogtreecommitdiff
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-04 18:06:35 +0100
commit2bf01667c7ef1f79a6b94693bb796a457f837b2b (patch)
tree070f7c2f156e0b7e8f902f56ffd5777cec69fcc2
parenta5913496b62e376339284be0bffdae83aad16df0 (diff)
downloaddefinitions-staging/jjardon/support_modern_distros.tar.gz
strata/build-essential/stage1-gcc.morph: set -std=gnu++98staging/jjardon/support_modern_distros
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 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) \