]> git.pld-linux.org Git - packages/ruby-ffi.git/commitdiff
build test objects with our flags
authorElan Ruusamäe <glen@delfi.ee>
Tue, 9 Dec 2014 08:13:49 +0000 (10:13 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 9 Dec 2014 08:13:49 +0000 (10:13 +0200)
ruby-ffi.spec

index e38c79d52468fe5f173737a01dc87b1084d2ddaf..14690f748671c2a4ebb56694ea55ce4f1eb195dc 100644 (file)
@@ -104,7 +104,14 @@ cp -p %{_datadir}/setup.rb .
 %if %{with tests}
 %{__make} -f libtest/GNUmakefile \
        CCACHE= \
+       OFLAGS='%{rpmcflags} $(JFLAGS)' \
        CC="%{__cc}"
+
+%{__make} -C spec/ffi/fixtures \
+       CCACHE= \
+       OFLAGS='%{rpmcflags} $(JFLAGS)' \
+       CC="%{__cc}"
+
 ruby -Ilib:ext/ffi_c -S \
        rspec spec
 %endif
This page took 0.122154 seconds and 4 git commands to generate.