]> git.pld-linux.org Git - packages/ccache.git/commitdiff
better LFS fix
authorElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 22:29:00 +0000 (00:29 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 2 Jan 2013 22:29:00 +0000 (00:29 +0200)
ccache.spec

index 17920049c30443e6c349eb2214d46b8ab1704cfd..c64f4c5731ae4f30c20d7daab1b85fc784430da3 100644 (file)
@@ -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}
This page took 0.041894 seconds and 4 git commands to generate.