diff options
| author | Felix Fietkau <nbd@openwrt.org> | 2014-08-03 10:45:36 +0000 |
|---|---|---|
| committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-03 10:45:36 +0000 |
| commit | 658e03b89e96720420a6664e540c42a3728fa762 (patch) | |
| tree | 6e45d105eb55af04081ff0870eaea80f6583f22c /package/network/utils/iputils/Makefile | |
| parent | f9e118358ef2856a831a40c86becc758fee94bc9 (diff) | |
| download | upstream-658e03b89e96720420a6664e540c42a3728fa762.tar.gz upstream-658e03b89e96720420a6664e540c42a3728fa762.tar.bz2 upstream-658e03b89e96720420a6664e540c42a3728fa762.zip | |
iputils: add missing includes, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41958 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iputils/Makefile')
| -rw-r--r-- | package/network/utils/iputils/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/network/utils/iputils/Makefile b/package/network/utils/iputils/Makefile index eeb6deb900c..19061ca77ac 100644 --- a/package/network/utils/iputils/Makefile +++ b/package/network/utils/iputils/Makefile @@ -121,10 +121,14 @@ define Package/iputils-traceroute6/description Traces path to a network host (IPv6). endef +ifdef CONFIG_USE_MUSL + TARGET_CFLAGS += -D__UCLIBC__ +endif + MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)" \ CONFIG_IPV6="$(CONFIG_IPV6)" \ - CONFIG_USE_UCLIBC="$(CONFIG_USE_UCLIBC)" \ + CONFIG_USE_UCLIBC="$(CONFIG_USE_UCLIBC)$(CONFIG_USE_MUSL)" \ define Package/iputils-arping/install $(INSTALL_DIR) $(1)/usr/bin |
