mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 13:26:17 +04:00
tcpreplay: compile as gnu11
Fixes compilation under GCC15. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Alexandru Ardelean
parent
808d025126
commit
39d0a49c0d
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tcpreplay
|
||||
PKG_VERSION:=4.5.1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
|
||||
@@ -144,6 +144,8 @@ CONFIGURE_ARGS += \
|
||||
--with-libdnet="$(STAGING_DIR)/usr" \
|
||||
--with-libpcap="$(STAGING_DIR)/usr"
|
||||
|
||||
TARGET_CFLAGS += -std=gnu11
|
||||
|
||||
define tcpreplayTemplate
|
||||
define Package/$(1)/install
|
||||
$(INSTALL_DIR) $$(1)/usr/bin ; \
|
||||
|
||||
Reference in New Issue
Block a user