aboutsummaryrefslogtreecommitdiff
path: root/projects/grpc
diff options
context:
space:
mode:
authorKostya Serebryany <konstantin.s.serebryany@gmail.com>2017-02-14 17:42:57 -0800
committerKostya Serebryany <konstantin.s.serebryany@gmail.com>2017-02-14 17:42:57 -0800
commit997dc0112566126fb8a468d7f34fca01d81a9be0 (patch)
treee7541711b2cec522c437e349c78616d791373e93 /projects/grpc
parent3a42a0c28e63647fd9e396df24e7c2a2b8dc58b9 (diff)
downloadoss-fuzz-997dc0112566126fb8a468d7f34fca01d81a9be0.tar.gz
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-xprojects/grpc/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/projects/grpc/build.sh b/projects/grpc/build.sh
index 47806b823..b7ffe78d9 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."