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 27c2952..496e5e6 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,' \