mskalick pushed to mongodb (master). "Fix wiredtiger handling on arm."

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 12:55:53 UTC 2015


>From bf543559aadff1dc6778bb70fb8430bfed51c638 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Skalick=C3=BD?= <mskalick at redhat.com>
Date: Thu, 2 Apr 2015 14:55:21 +0200
Subject: Fix wiredtiger handling on arm.


diff --git a/mongodb.spec b/mongodb.spec
index 86e9634..0eb3879 100644
--- a/mongodb.spec
+++ b/mongodb.spec
@@ -153,7 +153,12 @@ scons all \
         --variant-dir=build%{?dist} \
         --nostrip \
         --ssl \
-        --disable-warnings-as-errors
+        --disable-warnings-as-errors \
+%ifarch x86_64
+        --wiredtiger=on
+%else
+        --wiredtiger=off
+%endif
 
 
 %install
@@ -164,7 +169,12 @@ scons install \
         --nostrip \
         --ssl \
         --disable-warnings-as-errors \
-        --prefix=%{buildroot}%{_prefix}
+        --prefix=%{buildroot}%{_prefix} \
+%ifarch x86_64
+        --wiredtiger=on
+%else
+        --wiredtiger=off
+%endif
 
 mkdir -p %{buildroot}%{_sharedstatedir}/%{pkg_name}
 mkdir -p %{buildroot}%{_localstatedir}/log/%{pkg_name}
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/mongodb.git/commit/?h=master&id=bf543559aadff1dc6778bb70fb8430bfed51c638


More information about the scm-commits mailing list