diff --git a/package/base/gcc/gcc.conf b/package/base/gcc/gcc.conf index f57961ca3..aa702efde 100644 --- a/package/base/gcc/gcc.conf +++ b/package/base/gcc/gcc.conf @@ -144,7 +144,9 @@ custmain() { fi # do not install gc headers - sed -i 's, install-includeHEADERS,,;' ../boehm-gc/include/Makefile.in + if [ "$xpkg" != "gcc2" ] ; then + sed -i 's, install-includeHEADERS,,;' ../boehm-gc/include/Makefile.in + fi # In stage 1 everything is a little bit more complicated #