Comment
The change removes hardcoded include-path overrides that previously forced the build to use /usr/include/mbedtls3 and prevented accidental use of the wrong mbedtls headers. This is a build-environment hygiene change only; it does not add new code execution, network access, privilege escalation, or packaging side effects. I do not see a security issue in the diff itself, though it may affect build compatibility depending on the system's mbedtls setup.
@@ -141,10 +141,6 @@ build() (
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=?/_FORTIFY_SOURCE=2}"
CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=?/_FORTIFY_SOURCE=2}"
- # ensure extra/mbedtls is not used
- CFLAGS+=" -I/usr/include/mbedtls3"
- CXXFLAGS=" -I/usr/include/mbedtls3"
-
local _cmake_options=(
-B build
-S "$_pkgname"