From 5791e0f2c278be1fc72a1ef7149acec4da21ffa7 Mon Sep 17 00:00:00 2001
From: Francisco Redondo Marchena <francisco.marchena@codethink.co.uk>
Date: Wed, 25 Jul 2018 15:05:24 +0100
Subject: Revert "Update buildstream to 1.1.3"

This reverts commit 45bb922afeaae26ef5d4e0ee329c678485063c45.
---
 elements/gnu-toolchain/stage2-binutils.bst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/elements/gnu-toolchain/stage2-binutils.bst b/elements/gnu-toolchain/stage2-binutils.bst
index d3461301..612b31b6 100644
--- a/elements/gnu-toolchain/stage2-binutils.bst
+++ b/elements/gnu-toolchain/stage2-binutils.bst
@@ -23,7 +23,7 @@ environment:
 config:
   configure-commands:
   - |
-    export STAGE2_SYSROOT="/"
+    export STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))"
     export CXX="%{target-stage1}-g++ --sysroot=$STAGE2_SYSROOT"
     # binutils has its own embedded libtool, which is old and strips out
     # `--sysroot`.  Work around by modifying the compiler command to
@@ -36,7 +36,7 @@ config:
 
   build-commands:
   - |
-    export STAGE2_SYSROOT="/"
+    export STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))"
     make
 
   strip-commands:
-- 
cgit v1.2.1

