summaryrefslogtreecommitdiff
path: root/recipes/madwifi/files/respect-ldflags.patch
blob: 1e5e360faef5ea671203171bbf0f0273e8bc2cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Index: madwifi-trunk-r3837-20080802/Makefile
===================================================================
--- madwifi-trunk-r3837-20080802.orig/Makefile	2009-04-27 00:34:19.000000000 +0200
+++ madwifi-trunk-r3837-20080802/Makefile	2009-04-27 00:34:31.000000000 +0200
@@ -61,7 +61,7 @@
 		$(MAKE) -C $$i || exit 1; \
 	done
 else
-	$(MAKE) -C $(KERNELPATH) SUBDIRS=$(shell pwd) modules
+	$(MAKE) -C $(KERNELPATH) LDFLAGS= SUBDIRS=$(shell pwd) modules
 endif
 
 $(addprefix $(obj)/, $(obj-y:/=)): $(TOP)/svnversion.h
Index: madwifi-trunk-r3837-20080802/tools/Makefile
===================================================================
--- madwifi-trunk-r3837-20080802.orig/tools/Makefile	2009-04-27 00:34:19.000000000 +0200
+++ madwifi-trunk-r3837-20080802/tools/Makefile	2009-04-27 00:34:36.000000000 +0200
@@ -55,7 +55,7 @@
 INCS = -I. -I$(HAL) -I$(TOP) -I$(ATH_HAL)
 CFLAGS = -g -O2 -Wall
 ALL_CFLAGS = $(CFLAGS) $(INCS)
-LDFLAGS =
+#LDFLAGS =
 
 all: all-subdirs $(PROGRAMS)
 
Index: madwifi-trunk-r3837-20080802/tools/ath_info/Makefile
===================================================================
--- madwifi-trunk-r3837-20080802.orig/tools/ath_info/Makefile	2009-04-27 00:34:19.000000000 +0200
+++ madwifi-trunk-r3837-20080802/tools/ath_info/Makefile	2009-04-27 00:34:40.000000000 +0200
@@ -5,7 +5,7 @@
 USER_CROSS_COMPILE ?= $(CROSS_COMPILE)
 CC = $(USER_CROSS_COMPILE)gcc
 CFLAGS = -g -O2 -W -Wall
-LDFLAGS =
+#LDFLAGS =
 PREFIX = /usr/local
 BINDIR = $(PREFIX)/bin
 MANDIR = $(PREFIX)/share/man