Skip to content

Commit e595214

Browse files
rsalvaterrarobimarko
authored andcommitted
mbedtls: fix building with GCC 15.1
Disable -Wunterminated-string-initialization for now. Signed-off-by: Rui Salvaterra <[email protected]> Link: openwrt/openwrt#18600 Signed-off-by: Robert Marko <[email protected]>
1 parent 68cb841 commit e595214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package/libs/mbedtls/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=mbedtls
1111
PKG_VERSION:=3.6.3
12-
PKG_RELEASE:=1
12+
PKG_RELEASE:=2
1313
PKG_BUILD_FLAGS:=no-mips16 gc-sections no-lto
1414

1515
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
@@ -129,7 +129,7 @@ This package contains mbedtls helper programs for private key and
129129
CSR generation (gen_key, cert_req)
130130
endef
131131

132-
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS))
132+
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -Wno-unterminated-string-initialization
133133

134134
CMAKE_OPTIONS += \
135135
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \

0 commit comments

Comments
 (0)