Update for new BUILD_DIR and SRC_DIR variables
[hvlinux.git] / stage1 / pkg / gcc
index c6c4894..c499c06 100644 (file)
@@ -16,7 +16,7 @@ hvconfig_pre()
         --enable-libstdcxx-time \
         --enable-languages=c,c++"
 
-    cd ${LFS_TMP}/${PACKAGE}
+    cd ${SRC_DIR}
 
     # Change the StartFile Spec to point to the correct library location:
     echo -en '\n' >> gcc/config/linux.h
@@ -49,5 +49,5 @@ hvbuild()
 hvbuild_post()
 {
     # Install the libiberty header file that is needed by some packages:
-    cp -v ${LFS_TMP}/${PACKAGE}/include/libiberty.h ${TOOLS_DIR}/include
+    cp -v ${SRC_DIR}/include/libiberty.h ${TOOLS_DIR}/tools/include
 }