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=1aded0e307f4ed50a4fa80820a8041c481674ce9

commit 1aded0e307f4ed50a4fa80820a8041c481674ce9
Author: Guillem Jover <[email protected]>
AuthorDate: Thu May 18 03:08:38 2023 +0200

    Dpkg::Vendor::Debian: Only enable LFS when time64 is enabled for glibc
    
    The hard requirement for LFS flags to be passed when time64 is enabled
    is only present in glibc, so do not add this dependency for other
    architectures.
---
 scripts/Dpkg/Vendor/Debian.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Dpkg/Vendor/Debian.pm b/scripts/Dpkg/Vendor/Debian.pm
index 6f90842e8..487aeac08 100644
--- a/scripts/Dpkg/Vendor/Debian.pm
+++ b/scripts/Dpkg/Vendor/Debian.pm
@@ -178,7 +178,7 @@ sub set_build_features {
         if (any { $cpu eq $_ } qw(arc or1k) or
             $abi_bits != 32) {
             $use_feature{future}{time64} = 0;
-        } else {
+        } elsif ($libc eq 'gnu') {
             # On glibc 64-bit time_t support requires LFS.
             $use_feature{future}{lfs} = 1;
         }

-- 
Dpkg.Org's dpkg

Reply via email to