]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mbedtls: fix building with GCC 15.1
authorRui Salvaterra <rsalvaterra@gmail.com>
Sat, 26 Apr 2025 10:42:05 +0000 (11:42 +0100)
committerRobert Marko <robimarko@gmail.com>
Sun, 8 Jun 2025 10:20:15 +0000 (12:20 +0200)
Disable -Wunterminated-string-initialization for now.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18600
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/libs/mbedtls/Makefile

index 6d16819d3a1359cb77beb940582eae7eadcf1a89..c4969c0f64920a20e27a993abaa1a82372f9091e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mbedtls
 PKG_VERSION:=3.6.3
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_BUILD_FLAGS:=no-mips16 gc-sections no-lto
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -129,7 +129,7 @@ This package contains mbedtls helper programs for private key and
 CSR generation (gen_key, cert_req)
 endef
 
-TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
+TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -Wno-unterminated-string-initialization
 
 CMAKE_OPTIONS += \
        -DCMAKE_POSITION_INDEPENDENT_CODE=ON \