From c5a043e86b581a2028b983a9a2690c9830e90b3a94f8c451ab109ceef0fc971f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 16 May 2018 22:13:16 +0000 Subject: [PATCH] - Add _FILE_OFFSET_BITS=64 OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=17 --- schily.changes | 5 +++++ schily.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/schily.changes b/schily.changes index 0129d96..6838a2d 100644 --- a/schily.changes +++ b/schily.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 16 22:12:34 UTC 2018 - jengelh@inai.de + +- Add _FILE_OFFSET_BITS=64 for the psmake build procedure. + ------------------------------------------------------------------- Wed May 16 16:38:42 UTC 2018 - jengelh@inai.de diff --git a/schily.spec b/schily.spec index 2b3b82c..043f63b 100644 --- a/schily.spec +++ b/schily.spec @@ -410,6 +410,10 @@ rm -fv libshedit/shlshedit.mk # Static link libsiconv. It forwards to glibc iconv for supported charsets. rm -fv libsiconv/shlsiconv.mk +pushd psmake/ +CFLAGS="%optflags -D_FILE_OFFSET_BITS=64" sh MAKE-sh +popd + # (this is a noninteractive build; nobody will read the warnings # or care about the pause, so use GMAKE_NOWARN.) # @@ -422,7 +426,7 @@ rm -fv libsiconv/shlsiconv.mk # Not fully parallel safe, so stick to default. # gmake GMAKE_NOWARN=true RUNPATH="" LINKMODE=dynamic \ - COPTOPT="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1" \ + COPTOPT="%optflags -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1" \ LDOPTX="" RUNPATH="" %install