update version to 1.31.0

This commit is contained in:
l30006821 2020-08-29 14:22:38 +08:00
parent 30a4af07f9
commit 29306c4105
3 changed files with 18 additions and 2 deletions

View File

@ -14,3 +14,19 @@ diff -urN grpc/CMakeLists.txt grpc_new/CMakeLists.txt
if(gRPC_USE_PROTO_LITE)
set(_gRPC_PROTOBUF_LIBRARY_NAME "libprotobuf-lite")
diff --git a/Makefile b/Makefile
index 6ede6e34d2..d6190ecde4 100644
--- a/Makefile
+++ b/Makefile
@@ -478,6 +478,10 @@ LDFLAGS += $(EXTRA_LDFLAGS)
DEFINES += $(EXTRA_DEFINES)
LDLIBS += $(EXTRA_LDLIBS)
+CFLAGS += -Wl,-z,now -fPIE -fPIC
+CPPFLAGS += -Wl,-z,now -fstack-protector-strong
+LDFLAGS += -Wl,-z,now -pie
+
HOST_CPPFLAGS += $(CPPFLAGS)
HOST_CFLAGS += $(CFLAGS)
HOST_CXXFLAGS += $(CXXFLAGS)

View File

@ -5,7 +5,7 @@ Summary: A modern, open source high performance RPC framework that can run
License: ASL 2.0
URL: https://www.grpc.io
Source0: https://github.com/grpc/grpc/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: abseil-cpp-b832dce8489ef7b6231384909fd9b68d5a5ff2b7.tar.gz
Source1: abseil-20200225.tar.gz
Source2: benchmark-v1.5.1.tar.gz
Source3: re2-2020-08-01.tar.gz
Source4: googletest-release-1.10.0.tar.gz
@ -158,4 +158,4 @@ rm -rf %{buildroot}%{_prefix}/lib
- Delete unused patch
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.22.0-1
- Package init
- Package init