#!/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 \
{
# 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
}