Update binutils for new install dir option
[hvlinux.git] / stage0 / pkg / binutils
index 6077844..5a057a1 100644 (file)
@@ -5,11 +5,15 @@ hvconfig_pre()
     export AR=ar
     export AS=as
 
-    CONFIGURE_OPTS+=" \
+    # --with-lib-path:
+    # Set to dummy (non-existent) directory to prevent having
+    # host directories list.
+    CONFIGURE_OPTS=" \
+        --prefix=/cross-tools \
         --host=${CLFS_HOST} \
         --target=${CLFS_TARGET} \
         --with-sysroot=${CLFS} \
-        --with-lib-path=/tools/lib \
+        --with-lib-path=${CLFS}/dummy-directory/ \
         --disable-nls \
         --enable-shared \
         --disable-multilib"
@@ -33,8 +37,3 @@ hvconfig_post()
     unset AS
     ${HVMAKE} configure-host
 }
-
-hvbuild_post()
-{
-    cp -v ../${PACKAGE}/include/libiberty.h /tools/include
-}