Lines 1565-1570
Link Here
|
1565 |
cd "${WORKDIR}"/build |
1565 |
cd "${WORKDIR}"/build |
1566 |
|
1566 |
|
1567 |
# Do allow symlinks in private gcc include dir as this can break the build |
1567 |
# Do allow symlinks in private gcc include dir as this can break the build |
|
|
1568 |
# Keep them in prefix for things like 'machine->ia64' #gcc PR26189 |
1569 |
use prefix || |
1568 |
find gcc/include*/ -type l -delete |
1570 |
find gcc/include*/ -type l -delete |
1569 |
|
1571 |
|
1570 |
# Copy over the info pages. We disabled their generation earlier, but the |
1572 |
# Copy over the info pages. We disabled their generation earlier, but the |
Lines 1578-1587
Link Here
|
1578 |
done |
1580 |
done |
1579 |
|
1581 |
|
1580 |
# Remove generated headers, as they can cause things to break |
1582 |
# Remove generated headers, as they can cause things to break |
1581 |
# (ncurses, openssl, etc). |
1583 |
# (ncurses, openssl, etc), unless when in a prefix. |
1582 |
while read x ; do |
1584 |
while read x ; do |
1583 |
grep -q 'It has been auto-edited by fixincludes from' "${x}" \ |
1585 |
grep -q 'It has been auto-edited by fixincludes from' "${x}" \ |
1584 |
&& rm -f "${x}" |
1586 |
&& use !prefix && rm -f "${x}" |
1585 |
done < <(find gcc/include*/ -name '*.h') |
1587 |
done < <(find gcc/include*/ -name '*.h') |
1586 |
|
1588 |
|
1587 |
# Do the 'make install' from the build directory |
1589 |
# Do the 'make install' from the build directory |