summaryrefslogtreecommitdiff
path: root/package/iproute2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/Makefile')
-rw-r--r--package/iproute2/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/iproute2/Makefile b/package/iproute2/Makefile
index 5195693..6dcc394 100644
--- a/package/iproute2/Makefile
+++ b/package/iproute2/Makefile
@@ -35,11 +35,13 @@ $(eval $(call PKG_template,ROUTEL,routel,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEP
$(eval $(call PKG_template,RTMON,rtmon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_RTMON},${PKG_DESCR_RTMON},${PKG_SECTION}))
$(eval $(call PKG_template,SS,ss,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_SS},${PKG_DESCR_SS},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
+TCFLAGS+= -D_GNU_SOURCE
+XAKE_FLAGS+= CCOPTS="${TCFLAGS}" MFLAGS="CC=${TARGET_CC}"
+
+CONFIGURE_STYLE:= gnu
CONFIGURE_FLAGS+= KERNEL_INCLUDE="${LINUX_DIR}/include"
-MAKE_FLAGS+= MFLAGS="CC=${TARGET_CC}"
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
INSTALL_y:=
INSTALL_m:=