Fix segfault with evince
[hvlinux.git] / stage1 / pkg / binutils
index 605dc88..83113c3 100644 (file)
@@ -2,17 +2,22 @@
 
 hvconfig_pre()
 {
+    CONFIGURE_OPTS+=" \
+        --target=${CLFS_TARGET} \
+        --with-lib-path=/tools/lib \
+        --disable-nls \
+        --enable-shared \
+        --disable-multilib"
+
     case "${HVL_TARGET}" in
         "x86_64")
             # This adds 64 bit support to Binutils.
-           CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd"
+           CONFIGURE_OPTS+=" --enable-64-bit-bfd"
            ;;
     esac
 }
 
-hvbuild()
+hvconfig_post()
 {
     ${HVMAKE} configure-host
-    ${HVMAKE}
-    ${HVMAKE} install
 }