From 45bb922afeaae26ef5d4e0ee329c678485063c45 Mon Sep 17 00:00:00 2001
From: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Date: Mon, 4 Jun 2018 13:40:13 +0100
Subject: Update buildstream to 1.1.3

Set up/Hard code STAGE2_SYSROOT to the root directory instead of
calculating it depending on the current directory because buildstream
has changed the default value of "build-root" directory and this was
causing issues in the stage2 packages.
See https://gitlab.com/BuildStream/buildstream/issues/414 for more information.

Bump also the SHA of bst-external to fcd1fc365d0250bffe02937c89dcc31d11c299cf
---
 elements/gnu-toolchain/stage2-gawk.bst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'elements/gnu-toolchain/stage2-gawk.bst')

diff --git a/elements/gnu-toolchain/stage2-gawk.bst b/elements/gnu-toolchain/stage2-gawk.bst
index aa80f829..baebf658 100644
--- a/elements/gnu-toolchain/stage2-gawk.bst
+++ b/elements/gnu-toolchain/stage2-gawk.bst
@@ -23,11 +23,11 @@ environment:
 config:
 
   configure-commands:
-  - STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
+  - STAGE2_SYSROOT="/" CPPFLAGS="--sysroot=$STAGE2_SYSROOT" CXX=false
     LDFLAGS="--sysroot=$STAGE2_SYSROOT" ./configure --prefix="%{prefix}" --disable-nls
     --build=$(sh config.guess)  --host=%{target-stage1}
   build-commands:
-  - STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))" make
+  - STAGE2_SYSROOT="/" make
 
   strip-commands:
   - |
-- 
cgit v1.2.1

