[packages/ccache] better LFS fix

glen glen at pld-linux.org
Wed Jan 2 23:29:05 CET 2013


commit 6b963ef47984df7765d2a826dc2ce4812c361b2c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Jan 3 00:29:00 2013 +0200

    better LFS fix

 ccache.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/ccache.spec b/ccache.spec
index 1792004..c64f4c5 100644
--- a/ccache.spec
+++ b/ccache.spec
@@ -15,7 +15,6 @@ BuildRequires:	zlib-devel >= 1.2.3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_libdir		%{_prefix}/%{_lib}/%{name}
-%define		specflags	-D_FILE_OFFSET_BITS=64
 
 %description
 ccache is a compiler cache. It acts as a caching pre-processor to
@@ -59,6 +58,7 @@ kompilatora.
 
 %build
 cp -f /usr/share/automake/config.* .
+CPPFLAGS="%{rpmcppflags} -D_FILE_OFFSET_BITS=64"
 %configure
 
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ccache.git/commitdiff/6b963ef47984df7765d2a826dc2ce4812c361b2c



More information about the pld-cvs-commit mailing list