diff --git a/src/boot/meson.build b/src/boot/meson.build index 61c8be218c..ee86af274e 100644 --- a/src/boot/meson.build +++ b/src/boot/meson.build @@ -207,7 +207,7 @@ efi_c_ld_args = [ ] linker_sanity_code = 'void a(void) {}; void _start(void) { a(); }' -linker_sanity_args = ['-nostdlib', '-Wl,--fatal-warnings'] +linker_sanity_args = ['-nostdlib', '-Wl,--fatal-warnings', '-fno-stack-protector'] # Check if libgcc is available and then use it. It is needed for gcc builds # and for ia32 builds with clang.