X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage2%2Fpkg%2Fgcc;h=edcfe463d0564214167c33a42cbb5ea7202ca30a;hb=083296c57af0d21be562eeb4a71db7091ec0a38c;hp=865f6cdb66e0494247fc196e4c75f877d59d0955;hpb=81da365042d1bf4354e0480d888fe3b8425c47c7;p=hvlinux.git diff --git a/stage2/pkg/gcc b/stage2/pkg/gcc index 865f6cd..edcfe46 100644 --- a/stage2/pkg/gcc +++ b/stage2/pkg/gcc @@ -5,8 +5,7 @@ hvconfig_pre() export CC="gcc -Wl,-rpath-link,/lib -isystem /usr/include" export CXX="g++ -Wl,-rpath-link,/lib -isystem /usr/include" - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --libexecdir=/usr/lib \ --enable-shared \ --enable-threads=posix \ @@ -23,23 +22,6 @@ hvconfig_pre() sed -i 's/install_to_$(INSTALL_DEST) //' ${LFS_TMP}/${PACKAGE}/libiberty/Makefile.in } -hvpatch() -{ - # Manually applying patches if specified - if [ -n "${GCC_PATCHES}" ]; then - for p in ${GCC_PATCHES}; do - apply_patch ${PACKAGE}-${p}.patch ${PACKAGE} - done - fi - - case "${HVL_TARGET}" in - "x86_64") - # Apply the following patch so that GCC links to /lib instead of /lib64: - apply_patch ${PACKAGE}-pure64-2.patch ${PACKAGE} - ;; - esac -} - hvconfig_post() { unset CC