Compare commits

...

5 Commits

Author SHA1 Message Date
Michael Polyntsov
712cde0287 periodicstats: don't treat format-truncation warning as error 2023-11-30 14:56:24 +00:00
Michael Polyntsov
82103f08ec map-agent: don't treat format-truncation warning as error 2023-11-30 14:56:24 +00:00
Michael Polyntsov
30b4df0584 icwmp: don't treat format-truncation warning as error 2023-11-30 14:56:24 +00:00
Michael Polyntsov
753fa71008 bbfdm: don't treat format-truncation warning as error 2023-11-30 14:56:24 +00:00
Michael Polyntsov
94abbd114a swmodd: don't treat format-truncation warning as error
The warning itself doesn't indicate an error, so don't treat it
as an error thereby fixing the build with glibc
2023-11-30 14:47:50 +00:00
5 changed files with 10 additions and 2 deletions

View File

@@ -111,6 +111,8 @@ define Build/Prepare
endef
endif
TARGET_CFLAGS += -Wno-format-truncation
CMAKE_OPTIONS += \
-DBBF_TR181=ON
-DBBF_WIFI_DATAELEMENTS=ON

View File

@@ -65,6 +65,8 @@ define Package/icwmp-mbedtls
CONFLICTS := icwmp icwmp-wolfssl icwmp-openssl
endef
TARGET_CFLAGS += -Wno-error=format-truncation
ifeq ($(BUILD_VARIANT),default)
CMAKE_OPTIONS += -DWITH_OPENSSL=ON
endif

View File

@@ -60,7 +60,8 @@ TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include \
-I$(STAGING_DIR)/usr/include/libnl3 \
-Wno-error=deprecated-declarations \
-D_GNU_SOURCE
-D_GNU_SOURCE \
-Wno-error=format-truncation
TARGET_CFLAGS += -DEASYMESH_VERSION=$(CONFIG_AGENT_EASYMESH_VERSION)

View File

@@ -32,6 +32,8 @@ define Package/periodicstats/description
Manage periodic statistics
endef
TARGET_CFLAGS += -Wno-error=format-truncation
ifeq ($(LOCAL_DEV),1)
define Build/Prepare
$(CP) -rf ~/git/periodicstats/* $(PKG_BUILD_DIR)/

View File

@@ -54,7 +54,8 @@ endef
TARGET_CFLAGS += \
-D_GNU_SOURCE \
-Wall -Werror
-Wall -Werror \
-Wno-error=format-truncation
ifeq ($(CONFIG_SWMODD_OCI_SUPPORT),y)
MAKE_FLAGS += \