From b7d298ab07aedcb8032d43cd300aa30140ec6aa3 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Mon, 13 Jul 2009 14:56:44 +0000
Subject: [PATCH] madwifi: remove the -mlong-calls cflag from include files

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16830 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 package/madwifi/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 5e6273cca..250c6fd68 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -228,6 +228,7 @@ define Build/Prepare
 	$(SED) 's, -E[LB],,' \
 		-e 's, -mips2,,' \
 		-e 's, -mapcs-32,,' \
+		-e 's, -mlong-calls,,' \
 		$(PKG_BUILD_DIR)/hal/public/*.inc
 	$(SED) 's,march=armv4,march=armv5te,' \
 		$(PKG_BUILD_DIR)/hal/public/xscale*.inc
-- 
2.20.1