package/sqlitecpp: disable stack protection

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: e74059b39c ("package/sqlitecpp: new package")
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 39235638d1)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Michael Nosthoff
2026-10-02 09:56:31 +02:00
committed by Raphaël Mélotte
parent 9d96d396ec
commit aab81c2f63

View File

@@ -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))