madwifi: remove the -mlong-calls cflag from include files
[openwrt/svn-archive/archive.git] / package / madwifi / Makefile
index 5e6273ccae294e0beaf64bfa64a1de81ae51547d..250c6fd68d1d8b232c7eec556976f81220260c4d 100644 (file)
@@ -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