From 253e643c09a010fa9dc44ebee001412bb5e6ba83 Mon Sep 17 00:00:00 2001 From: acoul Date: Wed, 23 Mar 2011 20:02:00 +0000 Subject: [PATCH] net/iputils: fix ping & arping under brcm47xx. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26278 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/iputils/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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)" \