From 4b8b6e3fb73256ab71f6df97b7459ee7e1dbf976 Mon Sep 17 00:00:00 2001 From: Wetitpig Date: Thu, 7 Feb 2019 23:41:57 +0800 Subject: [PATCH] Only C++ --- packages/libgrpc/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/libgrpc/build.sh b/packages/libgrpc/build.sh index ff9dbcdee..0f3dce0a5 100644 --- a/packages/libgrpc/build.sh +++ b/packages/libgrpc/build.sh @@ -62,7 +62,7 @@ termux_step_host_build () { # src/core/lib/security/credentials/oauth2/oauth2_credentials.cc:336:61: error: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct grpc_oauth2_token_fetcher_credentials’; use assignment or value-initialization instead [-Werror=class-memaccess] # memset(c, 0, sizeof(grpc_oauth2_token_fetcher_credentials)); # when building version 1.17.2: - CPPFLAGS="-Wno-error=class-memaccess" \ + CXXFLAGS="-Wno-error=class-memaccess" \ CFLAGS="-Wno-implicit-fallthrough" \ make -j $TERMUX_MAKE_PROCESSES \ HAS_SYSTEM_PROTOBUF=false \