X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fgcc;h=f3b4e73a41545dd3a9d200a8e9220321c02a6b32;hb=1b3f334af67c84997f7b5e6dee56faf556f0ea4b;hp=edcfe463d0564214167c33a42cbb5ea7202ca30a;hpb=1422b969f72925bc679180c80ac0fa2518b16a03;p=hvlinux.git diff --git a/stage2/pkg/gcc b/stage2/pkg/gcc index edcfe46..f3b4e73 100644 --- a/stage2/pkg/gcc +++ b/stage2/pkg/gcc @@ -16,10 +16,6 @@ hvconfig_pre() --enable-languages=c,c++ \ --disable-multilib \ --disable-libstdcxx-pch" - - # Applying a sed substitution that will suppress the installation of - # libiberty.a. We want to use the Binutils version of libiberty.a - sed -i 's/install_to_$(INSTALL_DEST) //' ${LFS_TMP}/${PACKAGE}/libiberty/Makefile.in } hvconfig_post() @@ -30,6 +26,9 @@ hvconfig_post() hvbuild_post() { + # Install the libiberty header file that is needed by some packages: + cp -v ${SRC_DIR}/include/libiberty.h /usr/include + ln -svf ../usr/bin/cpp /lib ln -svf gcc /usr/bin/cc }