Re: [patch] PR bootstrap/25672: Avoid CFLAGS in CFLAGS_FOR_TARGETS if cross-compiling

2015-03-10 Thread Aldy Hernandez
On 03/09/2015 11:35 PM, Jeff Law wrote: On 03/09/15 16:22, Aldy Hernandez wrote: Hello gentlemen. The problem here is that we pick up the system's CFLAGS and pass it down to the target libraries. This causes havoc when, for instance, CFLAGS is -march=x86-64 and the target is powerpc-linux. I

Re: [patch] PR bootstrap/25672: Avoid CFLAGS in CFLAGS_FOR_TARGETS if cross-compiling

2015-03-10 Thread Jeff Law
On 03/09/15 16:22, Aldy Hernandez wrote: Hello gentlemen. The problem here is that we pick up the system's CFLAGS and pass it down to the target libraries. This causes havoc when, for instance, CFLAGS is -march=x86-64 and the target is powerpc-linux. I don't see in what scenario the toplevel

[patch] PR bootstrap/25672: Avoid CFLAGS in CFLAGS_FOR_TARGETS if cross-compiling

2015-03-09 Thread Aldy Hernandez
Hello gentlemen. The problem here is that we pick up the system's CFLAGS and pass it down to the target libraries. This causes havoc when, for instance, CFLAGS is -march=x86-64 and the target is powerpc-linux. I don't see in what scenario the toplevel shell's CFLAGS would be of any use in