Integrate patches inside git repository
[hvlinux.git] / stage2 / pkg / gcc
index 75add25..c1c28c3 100644 (file)
@@ -23,23 +23,6 @@ hvconfig_pre()
     sed -i 's/install_to_$(INSTALL_DEST) //' ${LFS_TMP}/${PACKAGE}/libiberty/Makefile.in
 }
 
-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_64")
-            # Apply the following patch so that GCC links to /lib instead of /lib64:
-            apply_patch ${PACKAGE}-pure64-1.patch ${PACKAGE}
-           ;;
-    esac
-}
-
 hvconfig_post()
 {
     unset CC