fix openswan -- do NOT strip the kernel modules
[openwrt.git] / package / linux / kernel-patches / 100-gcc3-mtune
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
3 @@ -71,13 +74,13 @@
4 set_gccflags = $(shell \
5 while :; do \
6 cpu=$(1); isa=-$(2); \
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 && \
11 break 2; \
12 done; \
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 && \
18 break 2; \
19 @@ -92,7 +95,7 @@
20 fi; \
21 gas_abi=-Wa,-32; gas_cpu=$$cpu; gas_isa=-Wa,$$isa; \
22 while :; do \
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 && \
27 break 2; \
28
This page took 0.049207 seconds and 5 git commands to generate.