]> git.ipfire.org Git - people/stevee/pakfire.git/commit
CFLAGS: Use -fstack-protector-all over -strong
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Mar 2023 11:12:04 +0000 (11:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Mar 2023 11:12:04 +0000 (11:12 +0000)
commitf1153a857affb461de71d0c7e62cbf39de0c802b
treea605eaee0e561c8af4cc17b142e0cbc78ae4305a
parent47f8e7a14dac45dbffd7fdbb5393ff1458cc8856
CFLAGS: Use -fstack-protector-all over -strong

Although -fstack-protector-strong will omit inserting any canary checks
on functions that cannot possibly overflow their stack, we will need all
functions to be protected in order to run our check.

It is more benefitial to us to have the check than optimise for
performance. We also expect LTO to inline all those functions that
possibly do not have a stack.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
macros/cflags.macro