[mongo-cxx-driver] Disabled -Werror (dont't build with gcc 5.0)
Marek Skalický
mskalick at fedoraproject.org
Tue Feb 10 09:19:13 UTC 2015
commit ab60d2021188cf4d3d245ca8ba12f45948e50572
Author: Marek Skalický <mskalick at redhat.com>
Date: Tue Feb 10 10:19:03 2015 +0100
Disabled -Werror (dont't build with gcc 5.0)
mongo-cxx-driver.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mongo-cxx-driver.spec b/mongo-cxx-driver.spec
index 181e389..9859c76 100644
--- a/mongo-cxx-driver.spec
+++ b/mongo-cxx-driver.spec
@@ -3,7 +3,7 @@
Name: mongo-cxx-driver
Version: 1.0.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A legacy C++ Driver for MongoDB
Group: Development/Libraries
License: ASL 2.0
@@ -69,7 +69,8 @@ sed -i -r -e "s|(if nix:)|\1\n\n env.Append( CCFLAGS=[\"$opt\"] )\n\n|" SCons
scons \
%{?_smp_mflags} \
--sharedclient \
- --ssl
+ --ssl \
+ --disable-warnings-as-errors
%install
@@ -79,6 +80,7 @@ scons install \
%{?_smp_mflags} \
--sharedclient \
--ssl \
+ --disable-warnings-as-errors \
--prefix=%{buildroot}%{_prefix}
# There is no option to build without static library
@@ -97,6 +99,9 @@ rm -f %{buildroot}%{_libdir}/libmongoclient.a
%{_libdir}/libmongoclient.so
%changelog
+* Tue Feb 10 2015 Marek Skalicky <mskalick at redhat.com> - 1.0.0-3
+- Disabled -Werror (dont't build with gcc 5.0)
+
* Wed Feb 04 2015 Petr Machata <pmachata at redhat.com> - 1.0.0-2
- Bump for rebuild.
More information about the scm-commits
mailing list