mbedtls: pass -march=armv8-a to make fortify happy

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2026-03-21 12:02:46 +08:00
parent dd1ffd6d44
commit a69b4c41d2
+3 -1
View File
@@ -134,7 +134,9 @@ This package contains mbedtls helper programs for private key and
CSR generation (gen_key, cert_req)
endef
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -Wno-unterminated-string-initialization
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) \
-Wno-unterminated-string-initialization \
$(if $(findstring cortex-a53,$(CONFIG_CPU_TYPE)),-march=armv8-a)
CMAKE_OPTIONS += \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \