X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpkg%2Fgcc;h=1877e7c2641559e4bd8fb59e30931ae39ae97901;hb=c40cf9db268db61676c4e239314317e74fdbf87c;hp=433e601c51dc83044a58a5ffee21a3a140946fd5;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage0/pkg/gcc b/stage0/pkg/gcc index 433e601..1877e7c 100644 --- a/stage0/pkg/gcc +++ b/stage0/pkg/gcc @@ -1,32 +1,12 @@ #!/bin/bash -hvpatch() -{ - # Manually applying patches if specified - if [ -n "${GCC_PATCHES}" ]; then - for p in ${GCC_PATCHES}; do - apply_patch ${PACKAGE}-${p}.patch ${PACKAGE} - done - fi - - case "${HVL_TARGET}" in - "x86") - apply_patch ${PACKAGE}-specs-1.patch ${PACKAGE} - ;; - "x86_64") - apply_patch ${PACKAGE}-pure64_specs-1.patch ${PACKAGE} - ;; - esac -} - hvconfig_pre() { export AR=ar export LDFLAGS="-Wl,-rpath,/cross-tools/lib" # Common options for passes 1 & 2 - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --build=${CLFS_HOST} \ --host=${CLFS_HOST} \ --target=${CLFS_TARGET} \ @@ -37,10 +17,11 @@ hvconfig_pre() --with-gmp=/cross-tools \ --with-ppl=/cross-tools \ --with-cloog=/cross-tools \ + --enable-cloog-backend=isl \ --disable-multilib" if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then - CONFIGURE_OPTS="${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --disable-shared \ --without-headers \ --with-newlib \ @@ -51,7 +32,7 @@ hvconfig_pre() --disable-threads \ --enable-languages=c" else - CONFIGURE_OPTS="${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --enable-shared \ --enable-languages=c,c++ \ --enable-__cxa_atexit \