Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/007.gcc.full.build b/007.gcc.full.build
- index 73eccbb..a2ad27b 100644
- --- a/007.gcc.full.build
- +++ b/007.gcc.full.build
- @@ -76,34 +76,61 @@ else
- --with-elf=${PREFIX_LVL} \
- --with-gmp=${PREFIX_LVL} \
- --with-mpc=${PREFIX_LVL} \
- - --with-mpfr=${PREFIX_LVL} \
- - --with-sysroot=";
- + --with-mpfr=${PREFIX_LVL}";
- fi;
- rm_if_exists -m -c ${BUILD_DIR};
- - ../cbb-gcc-${PKG_GCC_VERSION}/configure \
- - --disable-bootstrap \
- - --disable-libmudflap \
- - --disable-multilib \
- - --disable-nls \
- - --disable-obsolete \
- - --disable-sjlj-exceptions \
- - --disable-symvers \
- - --enable-canonical-system-headers \
- - --enable-__cxa_atexit \
- - --enable-debug \
- - --enable-gnu-indirect-function \
- - --enable-gnu-unique-object \
- - --enable-initfini-array \
- - --enable-languages=c,c++,objc,lto \
- - --enable-libstdcxx-debug \
- - --enable-lto \
- - --enable-multiarch \
- - --enable-secureplt \
- - --enable-shared \
- - --enable-threads=posix \
- - --target=${TARGET} \
- - --with-fpmath=sse \
- - ${_configure_args};
- + if [ "x${3}" = "xstage1" ]; then
- + ../cbb-gcc-${PKG_GCC_VERSION}/configure \
- + --disable-bootstrap \
- + --disable-libmudflap \
- + --disable-multilib \
- + --disable-nls \
- + --disable-obsolete \
- + --disable-sjlj-exceptions \
- + --disable-symvers \
- + --enable-canonical-system-headers \
- + --enable-__cxa_atexit \
- + --enable-debug \
- + --enable-gnu-indirect-function \
- + --enable-gnu-unique-object \
- + --enable-initfini-array \
- + --enable-languages=c,c++,objc,lto \
- + --enable-libstdcxx-debug \
- + --enable-lto \
- + --enable-multiarch \
- + --enable-secureplt \
- + --enable-shared \
- + --enable-threads=posix \
- + --target=${TARGET} \
- + --with-fpmath=sse \
- + --with-sysroot="" \
- + ${_configure_args};
- + elif [ "x${3}" = "xnative" ]; then
- + ../cbb-gcc-${PKG_GCC_VERSION}/configure \
- + --disable-bootstrap \
- + --disable-libmudflap \
- + --disable-multilib \
- + --disable-nls \
- + --disable-obsolete \
- + --disable-sjlj-exceptions \
- + --disable-symvers \
- + --enable-canonical-system-headers \
- + --enable-__cxa_atexit \
- + --enable-debug \
- + --enable-gnu-indirect-function \
- + --enable-gnu-unique-object \
- + --enable-initfini-array \
- + --enable-languages=c,c++,objc,lto \
- + --enable-libstdcxx-debug \
- + --enable-lto \
- + --enable-multiarch \
- + --enable-secureplt \
- + --enable-shared \
- + --enable-threads=posix \
- + --target=${TARGET} \
- + --with-fpmath=sse \
- + ${_configure_args};
- + fi;
- set_build_script_done configured -built;
- else
- cd ${BUILD_DIR};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement