X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fgcc;h=c3f9b1fc996fb1128dbc3c0c7ca3af7ebc50dfcb;hb=fc7d8c678ca78bef7c6e7eaeeb579269b7c501be;hp=c499c06899d4677fa71ba688b0454f0bfb7b05d9;hpb=582e550b16726c1391156a831baaf33c29a7a38f;p=hvlinux.git diff --git a/stage1/pkg/gcc b/stage1/pkg/gcc index c499c06..c3f9b1f 100644 --- a/stage1/pkg/gcc +++ b/stage1/pkg/gcc @@ -10,7 +10,7 @@ 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 \ @@ -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 ${SRC_DIR}/include/libiberty.h ${TOOLS_DIR}/tools/include + cp -v ${SRC_DIR}/include/libiberty.h ${TOOLS_DIR}/include }