[packages/ccache] enable large file access for ccache
Jakub Bogusz
qboosh at pld-linux.org
Wed Jan 2 20:12:32 CET 2013
On Wed, Jan 02, 2013 at 05:11:34PM +0200, Elan Ruusamäe wrote:
> On 02.01.2013 16:50, Arkadiusz Miśkiewicz wrote:
> >On Wednesday 02 of January 2013, Elan Ruusamäe wrote:
> >>On 02.01.2013 16:45, Jakub Bogusz wrote:
> >>>@@ -14,6 +14,7 @@ BuildRequires: automake
> >>>
> >>> BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
> >>>
> >>> %define _libdir %{_prefix}/%{_lib}/%{name}
> >>>
> >>>+%define specflags -D_FILE_OFFSET_BITS=64
> >Put AC_SYS_LARGEFILE into configure.{in,ac} where possible instead of doing
> >_FILE_OFFSET_BITS hacks.
> all fun, but ccache distribution does not include configure source
> configure.{in,ac}
Maybe it's available in some public repository?
> until then, it is safe to keep -D_FILE_OFFSET_BITS=64 for all current th
> architectures?
In single package - nothing worse should happen than when using it just
on ix86.
In ccache you can add CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
just before %configure.
--
Jakub Bogusz http://qboosh.pl/
More information about the pld-devel-en
mailing list