]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
__FILE_OFFSET_BITS
authorMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 21:09:45 +0000 (17:09 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Fri, 8 Sep 2023 21:09:45 +0000 (17:09 -0400)
config-scripts/cups-compiler.m4
configure

index 3bf30ad85869ad8dca6836b3e109bcb74fade1d1..335862e8c894942a771a8939fc43b47022b91d57 100644 (file)
@@ -228,7 +228,7 @@ AS_IF([test -n "$GCC"], [
 AS_CASE([$host_os_name], [linux*], [
     # glibc 2.8 and higher breaks peer credentials unless you
     # define _GNU_SOURCE...  32-bit Linux needs 64-bit time/file offsets...
-    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_BITS=64"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_OFFSET_BITS=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.
index aa5cba3a372e06ad8c51c4269514723ee43c15fc..258ae5849f67d83ee824e67f0022bb3471b4af4a 100755 (executable)
--- a/configure
+++ b/configure
@@ -8303,7 +8303,7 @@ case $host_os_name in #(
 
     # glibc 2.8 and higher breaks peer credentials unless you
     # define _GNU_SOURCE...  32-bit Linux needs 64-bit time/file offsets...
-    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_BITS=64"
+    OPTIM="$OPTIM -D_GNU_SOURCE -D__TIME_BITS=64 -D__FILE_OFFSET_BITS=64"
 
     # The -z relro option is provided by the Linux linker command to
     # make relocatable data read-only.