X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgcc;h=11a2837ef18569a5a5c479d7e9e19106f73e0b82;hb=f0d54c69a71d7d5cb32aa342ea38cba6aab9570f;hp=2a2c2eacd3a4617bea7dd60f008589f54ad5e4f3;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage1/pkg/gcc b/stage1/pkg/gcc index 2a2c2ea..11a2837 100644 --- a/stage1/pkg/gcc +++ b/stage1/pkg/gcc @@ -1,28 +1,8 @@ #!/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() { - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --target=${CLFS_TARGET} \ --disable-multilib \ --with-local-prefix=/tools \ @@ -54,7 +34,7 @@ hvconfig_post() { # Prevent GCC from looking in the wrong directories for headers and # libraries: - sed -e "/^HOST_\(GMP\|PPL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::" \ + sed -e "/^HOST_\(GMP\|ISL\|CLOOG\)\(LIBS\|INC\)/s:-[IL]/\(lib\|include\)::"\ -i Makefile }