mirror of https://github.com/google/oss-fuzz.git
[skia] Temporarily use gold to hack around clang regression (#2782)
This commit is contained in:
parent
d81eb7860e
commit
16e79e1bd5
|
@ -46,9 +46,11 @@ popd
|
|||
DISABLE="-Wno-zero-as-null-pointer-constant -Wno-unused-template
|
||||
-Wno-cast-qual"
|
||||
# Disable UBSan vptr since target built with -fno-rtti.
|
||||
# TODO(metzman): Stop using gold when
|
||||
# bugs.chromium.org/p/oss-fuzz/issues/detail?id=16777 gets resolved.
|
||||
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""
|
||||
export LDFLAGS="$LIB_FUZZING_ENGINE $CXXFLAGS -L$SWIFTSHADER_LIB_PATH"
|
||||
export LDFLAGS="$LIB_FUZZING_ENGINE $CXXFLAGS -L$SWIFTSHADER_LIB_PATH -fuse-ld=gold"
|
||||
|
||||
# This splits a space separated list into a quoted, comma separated list for gn.
|
||||
export CFLAGS_ARR=`echo $CFLAGS | sed -e "s/\s/\",\"/g"`
|
||||
|
|
Loading…
Reference in New Issue