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.