[packages/ruby-ffi] build test objects with our flags

glen glen at pld-linux.org
Tue Dec 9 09:14:21 CET 2014


commit eefd29d50a6b02afd633c85ee60f0bd1552fec46
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Dec 9 10:13:49 2014 +0200

    build test objects with our flags

 ruby-ffi.spec | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/ruby-ffi.spec b/ruby-ffi.spec
index e38c79d..14690f7 100644
--- a/ruby-ffi.spec
+++ b/ruby-ffi.spec
@@ -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
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list