diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:42:31 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:42:31 +0000 |
commit | aa307609c1e664d657d980b6df6e25d744c4d837 (patch) | |
tree | 08efda0cf257cdbb3f7738769adb31e0bd619f8c /scripts/Dpkg | |
parent | Adding debian version 1.22.5. (diff) | |
download | dpkg-aa307609c1e664d657d980b6df6e25d744c4d837.tar.xz dpkg-aa307609c1e664d657d980b6df6e25d744c4d837.zip |
Merging upstream version 1.22.6.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/Dpkg')
-rw-r--r-- | scripts/Dpkg/Vendor/Debian.pm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm index fcf5b1e..b3be69e 100644 --- a/scripts/Dpkg/Vendor/Debian.pm +++ b/scripts/Dpkg/Vendor/Debian.pm @@ -117,7 +117,7 @@ sub set_build_features { time64 => undef, }, qa => { - bug => 0, + bug => undef, 'bug-implicit-func' => undef, canary => 0, }, @@ -297,10 +297,6 @@ sub set_build_features { if ($use_feature{abi}{time64} && ! $builtin_feature{abi}{time64}) { # On glibc 64-bit time_t support requires LFS. $use_feature{abi}{lfs} = 1 if $libc eq 'gnu'; - - # Require -Werror=implicit-function-declaration, to avoid linking - # against the wrong symbol. - $use_feature{qa}{'bug-implicit-func'} = 1; } # XXX: Handle lfs alias from future abi feature area. @@ -311,7 +307,14 @@ sub set_build_features { ## Area: qa - $use_feature{qa}{'bug-implicit-func'} //= $use_feature{qa}{bug}; + # For time64 we require -Werror=implicit-function-declaration, to avoid + # linking against the wrong symbol. Instead of enabling this conditionally + # on time64 being enabled, do it unconditionally so that the effects are + # uniform and visible on all architectures. Unless it has been set + # explicitly. + $use_feature{qa}{'bug-implicit-func'} //= $use_feature{qa}{bug} // 1; + + $use_feature{qa}{bug} //= 0; ## Area: reproducible |