ieee1905 / map-* / wfadatad: Add -Wno-error=deprecated-declarations

Fixes error: 'uloop_timeout_remaining' is deprecated: use
uloop_timeout_remaining64 [-Werror=deprecated-declarations].

For now, compile with -Wno-error=deprecated-declarations until we have
found a nice way to support both uloop-versions or we have decided that
we only support OpenWrt 23.03.

Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
This commit is contained in:
Andreas Gnau 2022-06-23 16:49:17 +02:00
parent e26a9affbd
commit 721fcb8b38
5 changed files with 5 additions and 0 deletions

View file

@ -70,6 +70,7 @@ define Package/libieee1905/description
endef
TARGET_CFLAGS += \
-Wno-error=deprecated-declarations \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE

View file

@ -56,6 +56,7 @@ endef
TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-Wno-error=deprecated-declarations \
-D_GNU_SOURCE
ifeq ($(CONFIG_AGENT_SYNC_DYNAMIC_CNTLR_CONFIG),y)

View file

@ -38,6 +38,7 @@ define Package/map-controller/config
endef
TARGET_CFLAGS += \
-Wno-error=deprecated-declarations \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE

View file

@ -32,6 +32,7 @@ define Package/map-topology
endef
TARGET_CFLAGS += \
-Wno-error=deprecated-declarations \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-I$(STAGING_DIR)/usr/include/libnetfilter_conntrack \

View file

@ -60,6 +60,7 @@ MAKE_FLAGS += DEBUG=1
endif
TARGET_CFLAGS += \
-Wno-error=deprecated-declarations \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-D_GNU_SOURCE