diff --git a/package/network/utils/iproute2/Makefile b/package/network/utils/iproute2/Makefile index 6a1b15e148..41668e9381 100644 --- a/package/network/utils/iproute2/Makefile +++ b/package/network/utils/iproute2/Makefile @@ -161,10 +161,8 @@ ifdef CONFIG_PACKAGE_rdma HAVE_MNL:=y endif -define Build/Configure - echo "static const char SNAPSHOT[] = \"$(PKG_VERSION)-$(PKG_RELEASE)-openwrt\";" \ - > $(PKG_BUILD_DIR)/include/SNAPSHOT.h -endef +# Disable built-in configure invocation. +Build/Configure= TARGET_LDFLAGS += -Wl,--as-needed TARGET_CPPFLAGS += -I$(STAGING_DIR)/usr/include/libnl-tiny