[packages/apache-mod_rails] allow ccache
glen
glen at pld-linux.org
Wed May 1 19:32:04 CEST 2013
commit d211a771443d279f8325d566e625656d7544adb3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed May 1 20:31:40 2013 +0300
allow ccache
apache-mod_rails.spec | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/apache-mod_rails.spec b/apache-mod_rails.spec
index 6b79a30..84fa2d5 100644
--- a/apache-mod_rails.spec
+++ b/apache-mod_rails.spec
@@ -81,17 +81,15 @@ echo Apache/$(rpm -q apache-devel --qf '%{V}')
EOF
chmod a+rx fake-httpd
-cc="%{__cc}"; cc=${cc#ccache }
-cxx="%{__cxx}"; cxx=${cxx#ccache }
-rake apache2 \
+rake apache2 V=1 \
RELEASE=yes \
OPTIMIZE=yes \
HTTPD=${PWD:-$(pwd)/fake-httpd} \
APXS2=%{apxs} \
- CXXFLAGS="%{rpmcxxflags}" \
+ CC="%{__cc}" \
+ CXX="%{__cxx}" \
CFLAGS="%{rpmcflags}" \
- CXX="$cxx" \
- CC="$cc"
+ CXXFLAGS="%{rpmcxxflags}"
rdoc --ri --op ri lib ext/ruby
%{__rm} -r ri/{ConditionVariable,Exception,GC,IO,Object,Process,Signal}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/apache-mod_rails.git/commitdiff/d211a771443d279f8325d566e625656d7544adb3
More information about the pld-cvs-commit
mailing list