From 9fa6d673de54c3675ea4ed8f242178de3adc2a83 Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Thu, 27 Dec 2018 12:31:07 -0500 Subject: [PATCH] Disable empty expression check (#2055) --- projects/skia/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/skia/build.sh b/projects/skia/build.sh index da29f48d7..22921c90a 100644 --- a/projects/skia/build.sh +++ b/projects/skia/build.sh @@ -44,7 +44,8 @@ export SWIFTSHADER_LIB_PATH=$OUT popd # These are any clang warnings we need to silence. DISABLE="-Wno-zero-as-null-pointer-constant -Wno-unused-template - -Wno-cast-qual -Wno-self-assign -Wno-return-std-move-in-c++11" + -Wno-cast-qual -Wno-self-assign -Wno-return-std-move-in-c++11 + -Wno-extra-semi-stmt" # Disable UBSan vptr since target built with -fno-rtti. export CFLAGS="$CFLAGS $DISABLE -I$SWIFTSHADER_INCLUDE_PATH -DGR_EGL_TRY_GLES3_THEN_GLES2 -fno-sanitize=vptr" export CXXFLAGS="$CXXFLAGS $DISABLE -I$SWIFTSHADER_INCLUDE_PATH -DGR_EGL_TRY_GLES3_THEN_GLES2 -fno-sanitize=vptr "-DIS_FUZZING_WITH_LIBFUZZER""