1 --- linux-mips-cvs-21012005/arch/mips/Makefile 2004-11-18 05:16:52.000000000 +0100
2 +++ linux-broadcom/arch/mips/Makefile 2005-01-24 02:56:02.000000000 +0100
4 set_gccflags = $(shell \
7 - for gcc_opt in -march= -mcpu=; do \
8 + for gcc_opt in -march= -mtune=; do \
9 $(CC) $$gcc_opt$$cpu $$isa -S -o /dev/null \
10 -xc /dev/null > /dev/null 2>&1 && \
13 cpu=$(3); isa=-$(4); \
14 - for gcc_opt in -march= -mcpu=; do \
15 + for gcc_opt in -march= -mtune=; do \
16 $(CC) $$gcc_opt$$cpu $$isa -S -o /dev/null \
17 -xc /dev/null > /dev/null 2>&1 && \
21 gas_abi=-Wa,-32; gas_cpu=$$cpu; gas_isa=-Wa,$$isa; \
23 - for gas_opt in -Wa,-march= -Wa,-mcpu=; do \
24 + for gas_opt in -Wa,-march= -Wa,-mtune=; do \
25 $(CC) $$gas_abi $$gas_opt$$cpu $$gas_isa -Wa,-Z -c \
26 -o /dev/null -xassembler /dev/null > /dev/null 2>&1 && \