diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:42:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:42:36 +0000 |
commit | f3cd649313063ef9d72a3a4a0ab5b4af598c8c9f (patch) | |
tree | 47e771e246377a3ee1211bdb2238e090970d6c24 /scripts/Dpkg | |
parent | Releasing progress-linux version 1.22.5-0.0~progress7.99u1. (diff) | |
download | dpkg-f3cd649313063ef9d72a3a4a0ab5b4af598c8c9f.tar.xz dpkg-f3cd649313063ef9d72a3a4a0ab5b4af598c8c9f.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 |