diff options
author | 2016-06-06 16:31:29 -0700 | |
---|---|---|
committer | 2016-06-06 16:31:29 -0700 | |
commit | ea2bda904d52695374dd2ae9f5f160692ad6ef09 (patch) | |
tree | 188ffe73459dc05a380ca2fd5a950835b7a7f7d6 /grpc.BUILD | |
parent | 845fb7ab77fae53b849894925c7d13c1b8918675 (diff) |
Use -DGPR_BACKWARDS_COMPATIBILITY_MODE in gRPC. (#2697)
Use -DGPR_BACKWARDS_COMPATIBILITY_MODE in gRPC.
This avoids using secure_getenv(), which prevents building on operating systems with a GLIBC < 2.17.
Fixes #1307.
Diffstat (limited to 'grpc.BUILD')
-rw-r--r-- | grpc.BUILD | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/grpc.BUILD b/grpc.BUILD index c3360b6af0..01182b4254 100644 --- a/grpc.BUILD +++ b/grpc.BUILD @@ -145,6 +145,12 @@ cc_library( "include", ".", ], + defines = [ + "GPR_BACKWARDS_COMPATIBILITY_MODE", + ], + copts = [ + "-std=c99", + ], deps = [ ], ) |