[PATCH 1/2] ppc: Fix compiler warning in ptrace.c [-Wno-array-bounds]

Stratos Psomadakis psomas at ece.ntua.gr
Sun May 8 01:57:09 EST 2011


On 05/07/2011 06:18 PM, Andreas Schwab wrote:
> Stratos Psomadakis <psomas at cslab.ece.ntua.gr> writes:
>
>> +CFLAGS_ptrace.o		+= -DUTS_MACHINE='"$(UTS_MACHINE)"' -Wno-array-bounds
> You need to check first whether the option is valid.
>
> Andreas.
>
I resent the patch, with $(call cc-option) to check if GCC supports the
option. Is it ok?

Thx.

-- 
Stratos Psomadakis
<psomas at ece.ntua.gr>



More information about the Linuxppc-dev mailing list