[packages/lrzip] jit bcond

glen glen at pld-linux.org
Sun Apr 10 14:42:28 CEST 2016


commit ed9f2b8719d26f34c84ef49458a9a589a43a53c1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Apr 10 15:41:21 2016 +0300

    jit bcond

 lrzip.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/lrzip.spec b/lrzip.spec
index ebb2fc7..2b686eb 100644
--- a/lrzip.spec
+++ b/lrzip.spec
@@ -4,6 +4,11 @@
 # Conditional build:
 %bcond_with	system_lzma	# use system lzma instead of internal
 %bcond_without	asm	# Enable native Assembly code (ia32 only)
+%bcond_without	jit	# JIT in bundled libzpaq
+
+%ifnarch %{ix86} %{x8664}
+%undefine	with_jit
+%endif
 
 %ifnarch %{ix86}
 %undefine	with_asm
@@ -73,6 +78,7 @@ rm -rf lzma
 %build
 %{__aclocal} -I m4
 %{__autoconf}
+%{!?with_jit:CPPFLAGS="%{rpmcppflags} -DNOJIT"}
 %configure \
 	--disable-silent-rules \
 	--disable-static \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lrzip.git/commitdiff/592352c49376d8562d17a0e7327c8ba5e1988ad2



More information about the pld-cvs-commit mailing list