X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fbinutils;h=f9008004b363a0fe04dce08874041b1c1020111d;hb=4e78d26dd7f5e46a21cdc916e031f1b4a68578c0;hp=f0404e293bd0aec792a10892156498c57d869d2b;hpb=28a8892723b15670ebc1fba2a1d093bef4b85154;p=hvlinux.git diff --git a/stage2/pkg/binutils b/stage2/pkg/binutils index f0404e2..f900800 100644 --- a/stage2/pkg/binutils +++ b/stage2/pkg/binutils @@ -12,13 +12,6 @@ hvconfig_pre() 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 -}