Lines 748-753
Link Here
|
748 |
"${S}"/libstdc++-v3/python/Makefile.in || die |
748 |
"${S}"/libstdc++-v3/python/Makefile.in || die |
749 |
fi |
749 |
fi |
750 |
|
750 |
|
|
|
751 |
# we use our libtool on Darwin |
752 |
sed -i -e "s:/usr/bin/libtool:${EPREFIX}/usr/bin/${CTARGET}-libtool:" \ |
753 |
"${S}"/gcc/config/darwin.h || die "sed gcc/config/darwin.h failed" |
754 |
# add prefixed Frameworks to default search paths (may want to change this |
755 |
# in a cross-compile) |
756 |
sed -i -e "/\"\/System\/Library\/Frameworks\"\,/i\ \ \"${EPREFIX}/Frameworks\"\, " \ |
757 |
"${S}"/gcc/config/darwin-c.c || die "sed gcc/config/darwin-c.c failed" |
758 |
|
759 |
# for some reason the LD_LIBRARY_PATH (or whatever it is on the used |
760 |
# platform) is set with the target libs in it, that kills the host tools |
761 |
if is_crosscompile ; then |
762 |
sed -i -e 's/@RPATH_ENVVAR@/NO@RPATH_ENVVAR@/g' "${S}"/Makefile.in || die |
763 |
fi |
764 |
|
751 |
# make sure the pkg config files install into multilib dirs. |
765 |
# make sure the pkg config files install into multilib dirs. |
752 |
# since we configure with just one --libdir, we can't use that |
766 |
# since we configure with just one --libdir, we can't use that |
753 |
# (as gcc itself takes care of building multilibs). #435728 |
767 |
# (as gcc itself takes care of building multilibs). #435728 |