Accepting request 500411 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/500411 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zeromq?expand=0&rev=31
This commit is contained in:
commit
328feef847
13
remove_werror.patch
Normal file
13
remove_werror.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: zeromq-4.2.2/configure
|
||||
===================================================================
|
||||
--- zeromq-4.2.2.orig/configure
|
||||
+++ zeromq-4.2.2/configure
|
||||
@@ -18994,7 +18994,7 @@ fi
|
||||
|
||||
|
||||
# By default compiling with -Werror except OSX.
|
||||
-libzmq_werror="yes"
|
||||
+libzmq_werror="no"
|
||||
|
||||
# By default use DSO visibility
|
||||
libzmq_dso_visibility="yes"
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 1 11:25:58 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
- remove_werror.patch: don't use -Werror in compiler flags
|
||||
- disable silent compilation flags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 21 14:30:10 UTC 2017 - adam.majer@suse.de
|
||||
|
||||
|
@ -30,6 +30,7 @@ License: LGPL-3.0+
|
||||
Group: Productivity/Networking/Web/Servers
|
||||
Url: http://www.zeromq.org/
|
||||
Source: https://github.com/zeromq/libzmq/releases/download/v%{version}/zeromq-%{version}.tar.gz
|
||||
Patch: remove_werror.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libunwind-devel
|
||||
@ -104,6 +105,7 @@ This package holds the development files for ZeroMQ.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
export LIBS=-ldl
|
||||
@ -114,7 +116,8 @@ export LIBS=-ldl
|
||||
--with-pgm \
|
||||
%endif
|
||||
--disable-static \
|
||||
--disable-dependency-tracking
|
||||
--disable-dependency-tracking \
|
||||
--disable-silent-rules
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user