diff options
Diffstat (limited to 'elements/gnu-toolchain/stage2-libstdcxx.bst')
-rw-r--r-- | elements/gnu-toolchain/stage2-libstdcxx.bst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elements/gnu-toolchain/stage2-libstdcxx.bst b/elements/gnu-toolchain/stage2-libstdcxx.bst index 5d968bf3..58055e8b 100644 --- a/elements/gnu-toolchain/stage2-libstdcxx.bst +++ b/elements/gnu-toolchain/stage2-libstdcxx.bst @@ -31,7 +31,7 @@ config: # as we are running the configure script from the top-level # directory. - | - export STAGE2_SYSROOT="/" + export STAGE2_SYSROOT="$(dirname $(dirname $(pwd)))" # -fPIC must be given, otherwise it will not be possible to create # shared libraries linked to libstdc++ export CPPFLAGS="--sysroot=$STAGE2_SYSROOT -fPIC" |