Dpkg
view release on metacpan or search on metacpan
lib/Dpkg/Vendor/Debian.pm view on Meta::CPAN
$flags->append('LDFLAGS', '-Wl,-z,now');
}
# Branch protection.
if ($flags->use_feature('hardening', 'branch')) {
my $cpu = $flags->get_option_value('hardening-branch-cpu');
my $flag;
if ($cpu eq 'arm64') {
$flag = '-mbranch-protection=standard';
} elsif ($cpu eq 'amd64') {
# TODO: On GNU/Linux, CET is currently only partially supported
# for the "-fcf-protection" option values:
#
# - For "return", the current version of glibc in Debian does
# not enable support for it. See #1114518.
#
# - For "branch", the compiler injects the ENDBR instructions in
# the function prologues, but the Linux kernel does not currently
# have support to enable IBT support for user-space. And there
# are proposals that could end up changing its ABI.
#
( run in 1.474 second using v1.01-cache-2.11-cpan-d9d1a773ccd )