X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage0%2Fpkg%2Fbinutils;h=60778447e00fd53a4a172706feec1471ecb7336f;hb=c40cf9db268db61676c4e239314317e74fdbf87c;hp=443714d52ec1b4ed7388a24b51b83d128e85e4ab;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage0/pkg/binutils b/stage0/pkg/binutils index 443714d..6077844 100644 --- a/stage0/pkg/binutils +++ b/stage0/pkg/binutils @@ -5,8 +5,7 @@ hvconfig_pre() export AR=ar export AS=as - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --host=${CLFS_HOST} \ --target=${CLFS_TARGET} \ --with-sysroot=${CLFS} \ @@ -15,11 +14,16 @@ hvconfig_pre() --enable-shared \ --disable-multilib" + # --enable-64-bit-bfd: + # bfd = Binary File Descriptor + # Include support for 64 bit targets. This is automatically turned on if + # you explicitly request a 64 bit target, but not for --enable-targets=all. + # If compiling on a 32-bit machine, this option forces to generate a + # compiler that can also emit 64-bit code. case "${HVL_TARGET}" in - "x86_64") - # This adds 64 bit support to Binutils. - CONFIGURE_OPTS="${CONFIGURE_OPTS} --enable-64-bit-bfd" - ;; + x86_64*) + CONFIGURE_OPTS+=" --enable-64-bit-bfd" + ;; esac }