[packages/grpc] - force C++17 also in python module; release 4

qboosh qboosh at pld-linux.org
Fri Sep 20 17:59:50 CEST 2024


commit e2a6ad41600d12d610076e76258984fdd2f4716d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Sep 20 18:02:44 2024 +0200

    - force C++17 also in python module; release 4

 grpc.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/grpc.spec b/grpc.spec
index 47daf1f..d8d3b25 100644
--- a/grpc.spec
+++ b/grpc.spec
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	Biblioteka i szkielet RPC
 Name:		grpc
 # 1.51+ requires protobuf 4.x
 Version:	1.50.2
-Release:	3
+Release:	4
 License:	Apache v2.0
 Group:		Libraries
 #Source0Download: https://github.com/grpc/grpc/releases
@@ -153,6 +153,7 @@ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
 export GRPC_PYTHON_BUILD_SYSTEM_RE2=1
 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+export GRPC_PYTHON_CFLAGS="-std=c++17 -fvisibility=hidden -fno-wrapv -fno-exceptions"
 
 %if %{with python3}
 %if %{with apidocs}
@@ -176,6 +177,7 @@ export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
 export GRPC_PYTHON_BUILD_SYSTEM_RE2=1
 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
+export GRPC_PYTHON_CFLAGS="-std=c++17 -fvisibility=hidden -fno-wrapv -fno-exceptions"
 
 %if %{with python3}
 %py3_install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grpc.git/commitdiff/e2a6ad41600d12d610076e76258984fdd2f4716d



More information about the pld-cvs-commit mailing list