diff options
author | Kostya Serebryany <konstantin.s.serebryany@gmail.com> | 2017-02-14 17:42:57 -0800 |
---|---|---|
committer | Kostya Serebryany <konstantin.s.serebryany@gmail.com> | 2017-02-14 17:42:57 -0800 |
commit | 997dc0112566126fb8a468d7f34fca01d81a9be0 (patch) | |
tree | e7541711b2cec522c437e349c78616d791373e93 /projects/grpc | |
parent | 3a42a0c28e63647fd9e396df24e7c2a2b8dc58b9 (diff) |
disable sanitize=vptr in grpc: one more hack for bazel https://github.com/google/oss-fuzz/issues/383
Diffstat (limited to 'projects/grpc')
-rwxr-xr-x | projects/grpc/build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/grpc/build.sh b/projects/grpc/build.sh index 47806b82..b7ffe78d 100755 --- a/projects/grpc/build.sh +++ b/projects/grpc/build.sh @@ -44,9 +44,11 @@ bazel-bin/*.a \ # build grpc # Temporary hack, see https://github.com/google/oss-fuzz/issues/383 +NO_VPTR="--copt=-fno-sanitize=vptr --linkopt=-fno-sanitize=vptr" EXTERA_BAZEL_FLAGS="--strip=never $(for f in $CXXFLAGS; do if [ $f != "-stdlib=libc++" ] ; then echo --copt=$f --linkopt=$f; fi; done)" bazel build --dynamic_mode=off --spawn_strategy=standalone --genrule_strategy=standalone \ $EXTERA_BAZEL_FLAGS \ + $NO_VPTR \ :all test/... third_party/boringssl-with-bazel/... third_party/nanopb/... CFLAGS="${CFLAGS} -Iinclude -I." |