X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fbinutils;h=f9008004b363a0fe04dce08874041b1c1020111d;hb=362292f8b7f808d3e7d8742fff2b2cdec0a4b171;hp=e8d8c092b2455d04c121504acea4b8f77e494327;hpb=1422b969f72925bc679180c80ac0fa2518b16a03;p=hvlinux.git diff --git a/stage2/pkg/binutils b/stage2/pkg/binutils index e8d8c09..f900800 100644 --- a/stage2/pkg/binutils +++ b/stage2/pkg/binutils @@ -9,16 +9,9 @@ hvconfig_pre() --libdir=/usr/lib \ --enable-shared \ --disable-multilib" - + case "${HVL_TARGET}" in "x86_64") - # Libiberty uses gcc -print-multi-os-directory to determine where to - # install libiberty.a. Because our temporary GCC is still - # multilib-aware, the command returns ../lib64 which causes the archive - # to be installed into /usr/lib64. The following sed will prevent this: - sed -i 's%\(^MULTIOSDIR = \).*%\1 ../lib%' \ - ${LFS_TMP}/${PACKAGE}/libiberty/Makefile.in - # This adds 64 bit support to Binutils. CONFIGURE_OPTS+=" --enable-64-bit-bfd" ;; @@ -37,9 +30,3 @@ hvbuild() make tooldir=/usr make tooldir=/usr install } - -hvbuild_post() -{ - # Install the libiberty header file that is needed by some packages: - cp -v ../${PACKAGE}/include/libiberty.h /usr/include -}