X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fbinutils;h=83113c3f659e63a8f76e1a73cc1f85db1116a5f3;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=605dc8873345619dece8a3493ac4e996173d1250;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage1/pkg/binutils b/stage1/pkg/binutils index 605dc88..83113c3 100644 --- a/stage1/pkg/binutils +++ b/stage1/pkg/binutils @@ -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 }