From: acoul Date: Wed, 23 Mar 2011 20:02:00 +0000 (+0000) Subject: net/iputils: fix ping & arping under brcm47xx. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=253e643c09a010fa9dc44ebee001412bb5e6ba83;p=packages.git net/iputils: fix ping & arping under brcm47xx. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26278 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/iputils/Makefile b/net/iputils/Makefile index fdf0d2d90..8039bf5fc 100644 --- a/net/iputils/Makefile +++ b/net/iputils/Makefile @@ -121,6 +121,9 @@ define Package/iputils-traceroute6/description Traces path to a network host (IPv6). endef +ifeq ($(BOARD),brcm47xx) + TARGET_CFLAGS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall +endif MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \