forked from jengelh/grpc
Accepting request 618658 from devel:tools
- Throw out silly -Werror in release builds. OBS-URL: https://build.opensuse.org/request/show/618658 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grpc?expand=0&rev=10
This commit is contained in:
commit
a883d4d601
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 23 09:33:15 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Throw out silly -Werror in release builds.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 25 05:34:36 UTC 2018 - tbechtold@suse.com
|
Fri May 25 05:34:36 UTC 2018 - tbechtold@suse.com
|
||||||
|
|
||||||
|
@ -26,11 +26,8 @@ License: Apache-2.0
|
|||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Url: http://grpc.io/
|
Url: http://grpc.io/
|
||||||
Source: https://github.com/grpc/grpc/archive/v%version.tar.gz
|
Source: https://github.com/grpc/grpc/archive/v%version.tar.gz
|
||||||
# # PATCH-FEATURE-UPSTREAM 0001-Allow-building-the-python-module-with-system-openssl.patch -- https://github.com/grpc/grpc/pull/15548
|
|
||||||
Patch0: 0001-Allow-building-the-python-module-with-system-openssl.patch
|
Patch0: 0001-Allow-building-the-python-module-with-system-openssl.patch
|
||||||
# # PATCH-FEATURE-UPSTREAM 0002-Allow-building-the-python-module-with-system-zlib.patch -- https://github.com/grpc/grpc/pull/15548
|
|
||||||
Patch1: 0002-Allow-building-the-python-module-with-system-zlib.patch
|
Patch1: 0002-Allow-building-the-python-module-with-system-zlib.patch
|
||||||
# # PATCH-FEATURE-UPSTREAM 0003-Allow-building-the-python-module-with-system-cares.patch -- https://github.com/grpc/grpc/pull/15548
|
|
||||||
Patch2: 0003-Allow-building-the-python-module-with-system-cares.patch
|
Patch2: 0003-Allow-building-the-python-module-with-system-cares.patch
|
||||||
BuildRequires: %{python_module Cython}
|
BuildRequires: %{python_module Cython}
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
@ -93,7 +90,8 @@ This subpackage contains the python3 bindings.
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 CFLAGS="%optflags" CXXFLAGS="%optflags"
|
make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 \
|
||||||
|
CFLAGS="%optflags -Wno-error" CXXFLAGS="%optflags -Wno-error"
|
||||||
|
|
||||||
# build python module
|
# build python module
|
||||||
export GRPC_PYTHON_BUILD_WITH_CYTHON=True
|
export GRPC_PYTHON_BUILD_WITH_CYTHON=True
|
||||||
|
Loading…
Reference in New Issue
Block a user