diff options
Diffstat (limited to 'strata/build-essential-musl/stage2-binutils.morph')
-rw-r--r-- | strata/build-essential-musl/stage2-binutils.morph | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/strata/build-essential-musl/stage2-binutils.morph b/strata/build-essential-musl/stage2-binutils.morph index 20a19860..8da663e4 100644 --- a/strata/build-essential-musl/stage2-binutils.morph +++ b/strata/build-essential-musl/stage2-binutils.morph @@ -4,6 +4,9 @@ build-system: autotools configure-commands: - | + case "$MORPH_ARCH" in + mips64*) ARCH_FLAGS="--with-arch=octeon2" ;; + esac export STAGE2_SYSROOT="$(dirname $(pwd))" export CXX=false TARGET_STAGE1=`echo $TARGET_STAGE1 | sed -e 's/bootstrap-linux-gnu/linux-musl/'` @@ -14,7 +17,8 @@ configure-commands: ./configure --prefix="$PREFIX" --disable-nls --disable-werror \ --build=$(sh config.guess) \ --host=$TARGET_STAGE1 \ - --target=$TARGET_STAGE1 + --target=$TARGET_STAGE1 \ + $ARCH_FLAGS build-commands: - | |