]> git.ipfire.org Git - thirdparty/systemd.git/commit
Fix build fail when add option "-fstack-protector-all"
authorDuy Nguyen Van <ngyenduy9271@gmail.com>
Tue, 7 Oct 2025 04:09:19 +0000 (13:09 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 08:27:28 +0000 (10:27 +0200)
commit7ae7c014c37ba1cc7948c1ab2db8a79091bb2cc0
treed1acdbca1f6ffdff2f6b48e8f1e2d600d534440b
parente867eeaf2b347b6a2ecdc19b6c373c19af26bcc8
Fix build fail when add option "-fstack-protector-all"

When using canary check with "-fstack-protector-all" option. It causes a configure
error in systemd-boot when meson.build executes compile simple code to test linker option
"-static-pie" because -nolibstd option prevents using libc. It need for
canary to provide some function as "__stack_chk_guard". So need to turn off
canary check when compile sanity check.
src/boot/meson.build