From aab81c2f63d2158b702eb044a97d884610b64123 Mon Sep 17 00:00:00 2001 From: Michael Nosthoff Date: Fri, 2 Oct 2026 09:56:31 +0200 Subject: [PATCH] package/sqlitecpp: disable stack protection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SQLiteCpp has an internal setting for stack protection which defaults to "on". Since Buildroot handles stack protection itself this is not needed and more importantly it causes problems as the option enables stack protection support even when the toolchain doesn't support it, as can be reproduced using the following defconfig: BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE=y BR2_PACKAGE_SQLITECPP=y Fixes: br-test-pkg/bootlin-x86-i686-musl https://gitlab.com/heinemml/buildroot/-/jobs/16865965418 Oddly enough, there are no autobuilder failures recorded for this issue. Fixes: e74059b39ce2f ("package/sqlitecpp: new package") Signed-off-by: Michael Nosthoff Signed-off-by: Thomas Petazzoni (cherry picked from commit 39235638d171f433b3790c6cf9226dec728cd105) Signed-off-by: Raphaël Mélotte --- package/sqlitecpp/sqlitecpp.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/sqlitecpp/sqlitecpp.mk b/package/sqlitecpp/sqlitecpp.mk index 95ddc953cb..418860fc6d 100644 --- a/package/sqlitecpp/sqlitecpp.mk +++ b/package/sqlitecpp/sqlitecpp.mk @@ -14,6 +14,7 @@ SQLITECPP_INSTALL_STAGING = YES SQLITECPP_CONF_OPTS = \ -DSQLITECPP_INTERNAL_SQLITE=OFF \ -DSQLITECPP_RUN_CPPLINT=OFF \ - -DSQLITECPP_RUN_CPPCHECK=OFF + -DSQLITECPP_RUN_CPPCHECK=OFF \ + -DSQLITECPP_USE_STACK_PROTECTION=OFF $(eval $(cmake-package))