X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgcc;h=c3f9b1fc996fb1128dbc3c0c7ca3af7ebc50dfcb;hb=44d3c1f9f0e8fc945206020c4bd7a15c5a457f55;hp=bb77d66b9f94ca9e3c406032621ee3b40a66d062;hpb=d9ee6b9ce4580bd0bff4ba9618333e63018a5556;p=hvlinux.git diff --git a/stage1/pkg/gcc b/stage1/pkg/gcc index bb77d66..c3f9b1f 100644 --- a/stage1/pkg/gcc +++ b/stage1/pkg/gcc @@ -10,13 +10,13 @@ hvconfig_pre() --disable-nls \ --disable-libstdcxx-pch \ --with-system-zlib \ - --with-native-system-header-dir=/tools/include \ + --with-native-system-header-dir=${TOOLS_DIR}/include \ --disable-libssp \ --enable-checking=release \ --enable-libstdcxx-time \ --enable-languages=c,c++" - 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 @@ -43,11 +43,11 @@ hvconfig_post() hvbuild() { ${HVMAKE} AS_FOR_TARGET="${AS}" LD_FOR_TARGET="${LD}" - ${HVMAKE} install + ${HVMAKE} DESTDIR=${LFS} install } hvbuild_post() { # Install the libiberty header file that is needed by some packages: - cp -v ${LFS_TMP}/${PACKAGE}/include/libiberty.h /tools/include + cp -v ${SRC_DIR}/include/libiberty.h ${TOOLS_DIR}/include }