X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=stage0%2Fpkg%2Fgcc;h=fab1a514723f2f6a6531a8d5930c2dfe86fd93b2;hb=b6f8c455b6b970c08eab79303c95acbc1506f61d;hp=70f69c7052da61a339dd05417dc146494f1e21d7;hpb=e3cea905616f1775d6be858bb65687373315c9c0;p=hvlinux.git diff --git a/stage0/pkg/gcc b/stage0/pkg/gcc index 70f69c7..fab1a51 100644 --- a/stage0/pkg/gcc +++ b/stage0/pkg/gcc @@ -75,7 +75,7 @@ hvconfig_pre() --enable-libstdcxx-time \ --enable-threads=posix" - cd ${LFS_TMP}/${PACKAGE} + cd ${SRC_DIR} # Change the StartFile Spec to point to the correct library location: echo -en '\n' >> gcc/config/linux.h @@ -98,11 +98,11 @@ hvbuild() { if [ "x${HVLABEL}" = "x${GCC}-pass1" ]; then ${HVMAKE} all-gcc all-target-libgcc - ${HVMAKE} install-gcc install-target-libgcc DESTDIR=${CLFS} + ${HVMAKE} DESTDIR=${LFS} install-gcc install-target-libgcc else ${HVMAKE} \ AS_FOR_TARGET="${CLFS_TARGET}-as" \ LD_FOR_TARGET="${CLFS_TARGET}-ld" - ${HVMAKE} install DESTDIR=${CLFS} + ${HVMAKE} DESTDIR=${LFS} install fi }