Lines 595-600
Link Here
|
595 |
einfo " ${f%%...}" |
595 |
einfo " ${f%%...}" |
596 |
done |
596 |
done |
597 |
fi |
597 |
fi |
|
|
598 |
|
599 |
# we don't want fixed includes :) |
600 |
if tc_version_is_at_least 4.0; then |
601 |
echo : > "${S}"/fixincludes/fixinc.in || die |
602 |
else |
603 |
echo : > "${S}"/gcc/fixinc/fixincl.sh || die |
604 |
fi |
598 |
} |
605 |
} |
599 |
|
606 |
|
600 |
guess_patch_type_in_dir() { |
607 |
guess_patch_type_in_dir() { |
Lines 1598-1606
Link Here
|
1598 |
toolchain_src_install() { |
1605 |
toolchain_src_install() { |
1599 |
cd "${WORKDIR}"/build |
1606 |
cd "${WORKDIR}"/build |
1600 |
|
1607 |
|
1601 |
# Do allow symlinks in private gcc include dir as this can break the build |
|
|
1602 |
find gcc/include*/ -type l -delete |
1603 |
|
1604 |
# Copy over the info pages. We disabled their generation earlier, but the |
1608 |
# Copy over the info pages. We disabled their generation earlier, but the |
1605 |
# build system only expects to install out of the build dir, not the source. #464008 |
1609 |
# build system only expects to install out of the build dir, not the source. #464008 |
1606 |
mkdir -p gcc/doc |
1610 |
mkdir -p gcc/doc |
Lines 1611-1623
Link Here
|
1611 |
fi |
1615 |
fi |
1612 |
done |
1616 |
done |
1613 |
|
1617 |
|
1614 |
# Remove generated headers, as they can cause things to break |
|
|
1615 |
# (ncurses, openssl, etc). |
1616 |
while read x ; do |
1617 |
grep -q 'It has been auto-edited by fixincludes from' "${x}" \ |
1618 |
&& rm -f "${x}" |
1619 |
done < <(find gcc/include*/ -name '*.h') |
1620 |
|
1621 |
# Do the 'make install' from the build directory |
1618 |
# Do the 'make install' from the build directory |
1622 |
S="${WORKDIR}"/build emake -j1 DESTDIR="${D}" install || die |
1619 |
S="${WORKDIR}"/build emake -j1 DESTDIR="${D}" install || die |
1623 |
|
1620 |
|