diff options
author | Javier Jardón <jjardon@gnome.org> | 2015-06-02 14:36:14 +0100 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-06-10 10:41:03 +0000 |
commit | 3c9e4fbfc0b8e8b585f109ed5a6557eedb8ba9b5 (patch) | |
tree | d24892fd3b24a4a5e2d78c2878bf49bda033dc6d /strata/build-essential | |
parent | 684bbd29bb69e198958397109e1d884d1717427a (diff) | |
download | definitions-3c9e4fbfc0b8e8b585f109ed5a6557eedb8ba9b5.tar.gz |
stage2-binutils: No need to disable c++ anymore
We are generating a c++ compiler in stage 1, so no need to
use the workaround introduced in commit
e72775acb5326e948d2542622afb9bed4fd67c15
to be able to compile binutils without a c++ compiler
This allows using upstream release tarballs of binutils, where
before we had to patch out the AC_PROG_CXX statement from
configure.in.
Change-Id: I1ce9d2946f3a23a4355e8ec527a5ebfbce987d99
Diffstat (limited to 'strata/build-essential')
-rw-r--r-- | strata/build-essential/stage2-binutils.morph | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/strata/build-essential/stage2-binutils.morph b/strata/build-essential/stage2-binutils.morph index 1c64fb29..b07b56a4 100644 --- a/strata/build-essential/stage2-binutils.morph +++ b/strata/build-essential/stage2-binutils.morph @@ -5,7 +5,7 @@ build-system: autotools configure-commands: - | export STAGE2_SYSROOT="$(dirname $(pwd))" - export CXX=false + 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 # include the sysroot flag |