commit 0cbc2159e2e494bd33a2fc356dd8557039ee19e3
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Aug 11 23:47:06 2014 +0300

    use current CC

 ruby-ffi.spec | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ruby-ffi.spec b/ruby-ffi.spec
index 80d9df2..44d2a46 100644
--- a/ruby-ffi.spec
+++ b/ruby-ffi.spec
@@ -40,12 +40,18 @@ cp -p %{_datadir}/setup.rb .
 
 %{__ruby} setup.rb config \
        --rbdir=%{ruby_rubylibdir} \
-       --sodir=%{ruby_archdir}
+       --sodir=%{ruby_archdir} \
+       --makeprog=true
 
 %{__ruby} setup.rb setup
 
+%{__make} -C ext/ffi_c \
+       CC="%{__cc}"
+
 %if %{with tests}
-%{__make} -f libtest/GNUmakefile
+%{__make} -f libtest/GNUmakefile \
+       CCACHE= \
+       CC="%{__cc}"
 ruby -Ilib:ext/ffi_c -S \
        rspec spec
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-ffi.git/commitdiff/0cbc2159e2e494bd33a2fc356dd8557039ee19e3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to