From: Michael R Sweet Date: Fri, 8 Sep 2023 21:09:45 +0000 (-0400) Subject: __FILE_OFFSET_BITS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c28b0a99d67f56a29681fba075421f614d8a0ee;p=thirdparty%2Fcups.git __FILE_OFFSET_BITS --- diff --git a/config-scripts/cups-compiler.m4 b/config-scripts/cups-compiler.m4 index 3bf30ad858..335862e8c8 100644 --- a/config-scripts/cups-compiler.m4 +++ b/config-scripts/cups-compiler.m4 @@ -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. diff --git a/configure b/configure index aa5cba3a37..258ae5849f 100755 --- 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.