]> git.pld-linux.org Git - packages/ruby-ffi.git/commitdiff
use current CC
authorElan Ruusamäe <glen@delfi.ee>
Mon, 11 Aug 2014 20:47:06 +0000 (23:47 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 11 Aug 2014 20:47:06 +0000 (23:47 +0300)
ruby-ffi.spec

index 80d9df214010355b8012acc83d990684ef441d8c..44d2a4643764168d895cf9c0c3362a6f6e2f1c2b 100644 (file)
@@ -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
This page took 0.092039 seconds and 4 git commands to generate.