]> git.pld-linux.org Git - packages/coreutils.git/commitdiff
add y2038 bcond
authorJan Palus <jpalus@fastmail.com>
Fri, 1 Oct 2021 21:34:18 +0000 (23:34 +0200)
committerJan Palus <jpalus@fastmail.com>
Fri, 1 Oct 2021 21:34:18 +0000 (23:34 +0200)
coreutils.spec

index 3d0e9686a5fca981904589d3cfc730d37ae57d44..4be4ccfb86370e36376266d88b5774653d4daa98 100644 (file)
@@ -3,6 +3,7 @@
 %bcond_with    advcopy         # progress bar in cp (orphaned patch)
 %bcond_with    multicall       # Compile all the tools in a single binary
 %bcond_with    tests           # unit tests running
+%bcond_without y2038           # Y2038 support for 32-bit archs
 
 Summary:       GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):     GNU Core-utils - podstawowe narzędzia działające z linii poleceń
@@ -174,7 +175,8 @@ build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
        %{?with_multicall:--enable-single-binary=symlinks} \
        --disable-silent-rules \
        --enable-install-program=arch \
-       --enable-no-install-program=hostname,kill,uptime
+       --enable-no-install-program=hostname,kill,uptime \
+       %{!?with_y2038:--disable-year2038}
 
 %{__make} -j1
 
This page took 0.067386 seconds and 4 git commands to generate.