madwifi: fix cflags for generic mips hal
authorFelix Fietkau <nbd@openwrt.org>
Sun, 1 Jun 2008 12:08:02 +0000 (12:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 1 Jun 2008 12:08:02 +0000 (12:08 +0000)
SVN-Revision: 11319

package/madwifi/Makefile

index 27c29529ed9e90c3647a4e918c38207d86bba6a6..496e5e6d10590230fc5a39ff1d56398d9be4fc91 100644 (file)
@@ -166,6 +166,7 @@ ifneq ($(HALFILE),)
        rm -rf $(PKG_BUILD_DIR)/tmp
        # patch cflags
        $(SED) 's, -E[LB],,' \
+               -e 's, -mips2,,' \
                -e 's, -mapcs-32,,' \
                $(PKG_BUILD_DIR)/hal/public/*.inc
        $(SED) 's,march=armv4,march=armv5te,' \