diff options
Diffstat (limited to 'build-gcc.sh')
-rwxr-xr-x | build-gcc.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/build-gcc.sh b/build-gcc.sh index 155ccbd34..b80ca0d1c 100755 --- a/build-gcc.sh +++ b/build-gcc.sh @@ -75,9 +75,6 @@ register_var_option "--isl-version=<version>" ISL_VERSION "Specify ISL version" PPL_VERSION=$DEFAULT_PPL_VERSION register_var_option "--ppl-version=<version>" PPL_VERSION "Specify ppl version" -WITH_PYTHON= -register_var_option "--with-python=<path/to/python-config.sh>" WITH_PYTHON "Specify python config script, or prebuilt" - PACKAGE_DIR= register_var_option "--package-dir=<path>" PACKAGE_DIR "Create archive tarball in specific directory" @@ -182,19 +179,6 @@ if [ ! -d $SRC_DIR/gdb/gdb-$GDB_VERSION ] ; then exit 1 fi -if [ ! -z "$WITH_PYTHON" ] ; then - if [ "$WITH_PYTHON" = "prebuilt" ] ; then - WITH_PYTHON_SCRIPT="$ANDROID_NDK_ROOT/prebuilt/$HOST_TAG/bin/python-config.sh" - fi - if [ ! -f "$WITH_PYTHON_SCRIPT" ] ; then - echo "ERROR: --with-python ($WITH_PYTHON_SCRIPT)" - echo " Does not exist!" - exit 1 - else - WITH_PYTHON="--with-python=$WITH_PYTHON_SCRIPT" - fi -fi - fix_option MPFR_VERSION "$OPTION_MPFR_VERSION" "mpfr version" if [ ! -f $SRC_DIR/mpfr/mpfr-$MPFR_VERSION.tar.bz2 ] ; then echo "ERROR: Missing mpfr sources: $SRC_DIR/mpfr/mpfr-$MPFR_VERSION.tar.bz2" @@ -392,7 +376,6 @@ $BUILD_SRCDIR/configure --target=$ABI_CONFIGURE_TARGET \ --with-gmp-version=$GMP_VERSION \ --with-gcc-version=$CONFIGURE_GCC_VERSION \ --with-gdb-version=$GDB_VERSION \ - $WITH_PYTHON \ --with-gxx-include-dir=$TOOLCHAIN_INSTALL_PATH/include/c++/$GCC_VERSION \ --with-bugurl=$DEFAULT_ISSUE_TRACKER_URL \ --enable-languages=$ENABLE_LANGUAGES \ |