madwifi: remove a dangerous debugging define
[openwrt.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 Index: madwifi-dfs-r3053/hal/public/mips-be-elf.inc
2 ===================================================================
3 --- madwifi-dfs-r3053.orig/hal/public/mips-be-elf.inc 2007-12-13 05:25:10.890246068 +0100
4 +++ madwifi-dfs-r3053/hal/public/mips-be-elf.inc 2007-12-13 05:25:10.986251538 +0100
5 @@ -71,5 +71,5 @@
6
7 LDOPTS= -EB
8 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
9 -COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
10 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
11 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
12 Index: madwifi-dfs-r3053/hal/public/mips-le-elf.inc
13 ===================================================================
14 --- madwifi-dfs-r3053.orig/hal/public/mips-le-elf.inc 2007-12-13 05:25:10.898246523 +0100
15 +++ madwifi-dfs-r3053/hal/public/mips-le-elf.inc 2007-12-13 05:25:10.994251993 +0100
16 @@ -68,5 +68,5 @@
17
18 LDOPTS= -EL
19 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
20 -COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
21 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
22 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
23 Index: madwifi-dfs-r3053/hal/public/xscale-be-elf.inc
24 ===================================================================
25 --- madwifi-dfs-r3053.orig/hal/public/xscale-be-elf.inc 2007-12-13 05:25:10.906246979 +0100
26 +++ madwifi-dfs-r3053/hal/public/xscale-be-elf.inc 2007-12-13 05:25:10.998252222 +0100
27 @@ -77,5 +77,5 @@
28
29 LDOPTS= -EB
30 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
31 -COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
32 +COPTS+= -march=armv5te -mbig-endian -fno-strict-aliasing -fno-common \
33 -mtune=xscale -mshort-load-bytes
34 Index: madwifi-dfs-r3053/hal/public/xscale-le-elf.inc
35 ===================================================================
36 --- madwifi-dfs-r3053.orig/hal/public/xscale-le-elf.inc 2007-12-12 22:20:33.000000000 -0600
37 +++ madwifi-dfs-r3053/hal/public/xscale-le-elf.inc 2008-01-14 17:24:29.000000000 -0600
38 @@ -78,5 +78,5 @@
39
40 LDOPTS= -EL
41 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
42 -COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
43 - -mapcs-32 -mtune=xscale -mshort-load-bytes
44 +COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
45 + -mtune=xscale -mshort-load-bytes
This page took 0.042916 seconds and 5 git commands to generate.