Bug#695661: gcc-4.7: Please fix build on powerpcspe
On 12/11/2012 02:01 PM, Matthias Klose wrote:
> Am 11.12.2012 13:31, schrieb Roland Stigge:
>
> both patches look wrong. the definition is found in the t-spe file. find out why
> it doesn't get used.
I guess rs6000/t-linux defining:
MULTIARCH_DIRNAME = powerpc-linux-gnu
overwrites this. How about putting "ifeq (,$(MULTIARCH_DIRNAME))" around
the above?
Or, alternatively, including rs6000/t-linux _before_ rs6000/t-spe?
Currently, it's
tmake_file="$tmake_file rs6000/t-linux"
in src/gcc/config.gcc, so maybe rather:
tmake_file="rs6000/t-linux $tmake_file"
?
Both solutions somehow depend on the sequence of Makefile inclusion.
Let me know your preference, I can put together a patch if necessary.
Thanks,
Roland
Reply to: