This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=78a5e8e243c28f7d4c849f11e9c4cf5824a077f5 commit 78a5e8e243c28f7d4c849f11e9c4cf5824a077f5 (HEAD -> main) Author: Matthias Klose <d...@ubuntu.com> AuthorDate: Wed Mar 27 02:43:39 2024 +0100 Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of -fno-cf-protection The latter is not known to gcc. Signed-off-by: Guillem Jover <guil...@debian.org> --- scripts/Dpkg/Vendor/Ubuntu.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Dpkg/Vendor/Ubuntu.pm b/scripts/Dpkg/Vendor/Ubuntu.pm index f907fa96c..1633220e6 100644 --- a/scripts/Dpkg/Vendor/Ubuntu.pm +++ b/scripts/Dpkg/Vendor/Ubuntu.pm @@ -177,7 +177,7 @@ sub add_build_flags { if ($cpu eq 'arm64') { $flag = '-mbranch-protection=none'; } elsif ($cpu eq 'amd64') { - $flag = '-fno-cf-protection'; + $flag = '-fcf-protection=none'; } if (defined $flag) { $flags->append($_, $flag) foreach @compile_flags; -- Dpkg.Org's dpkg