|
|
src_unpack() { | src_unpack() { |
base_src_unpack | base_src_unpack |
| |
|
# allow successful splitobjs builds on powerpc |
|
epatch ${FILESDIR}/${PN}-6.2-powerpc-splitobjs.patch |
|
|
# hardened-gcc needs to be disabled, because the | # hardened-gcc needs to be disabled, because the |
# mangler doesn't accept its output; yes, the 6.2 version | # mangler doesn't accept its output; yes, the 6.2 version |
# should do ... | # should do ... |
|
|
# incorrectly by the configure script | # incorrectly by the configure script |
echo "ArSupportsInput:=" >> mk/build.mk | echo "ArSupportsInput:=" >> mk/build.mk |
| |
# Required under ppc to work around some obscure linker problem. |
|
if use ppc; |
|
then |
|
echo "SplitObjs=NO" >> mk/build.mk |
|
fi |
|
|
|
# unset SGML_CATALOG_FILES because documentation installation | # unset SGML_CATALOG_FILES because documentation installation |
# breaks otherwise ... | # breaks otherwise ... |
# (--enable-threaded-rts is no longer needed) | # (--enable-threaded-rts is no longer needed) |