summaryrefslogtreecommitdiff
path: root/recipes/wlan-ng/wlan-ng-utils/hostldflags.patch
blob: 93893a5e1151b685b0905e84f816dc15375adde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: linux-wlan-ng-0.2.3/src/mkmeta/Makefile
===================================================================
--- linux-wlan-ng-0.2.3.orig/src/mkmeta/Makefile	2005-01-26 23:01:07.000000000 +0100
+++ linux-wlan-ng-0.2.3/src/mkmeta/Makefile	2006-04-18 22:07:58.937819216 +0200
@@ -90,13 +90,13 @@
 
 
 mkmetadef:	$(MKMETADEF_OBJ) mkmetadefhead.txt
-	$(HOST_CC) $(LDFLAGS) -o $@ $(MKMETADEF_OBJ)
+	$(HOST_CC) $(HOST_LDFLAGS) -o $@ $(MKMETADEF_OBJ)
 	cat mkmetadefhead.txt > ../include/wlan/p80211metadef.h
 	./mkmetadef >> ../include/wlan/p80211metadef.h
 	echo "#endif" >> ../include/wlan/p80211metadef.h
 
 mkmetastruct:	$(MKMETASTRUCT_OBJ) mkmetastructhead.txt
-	$(HOST_CC) $(LDFLAGS) -o $@ $(MKMETASTRUCT_OBJ)
+	$(HOST_CC) $(HOST_LDFLAGS) -o $@ $(MKMETASTRUCT_OBJ)
 	cat mkmetastructhead.txt > ../include/wlan/p80211metastruct.h
 	./mkmetastruct >> ../include/wlan/p80211metastruct.h
 	echo "#endif" >> ../include/wlan/p80211metastruct.h