From d0f6761b98793bafd76b317593d888ca27f3149c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 14 Oct 2018 13:02:49 -0400 Subject: [PATCH] [harfbuzz] Disable UBSan vptr again, since we still build with -fno-rtti (#1873) --- projects/harfbuzz/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/harfbuzz/build.sh b/projects/harfbuzz/build.sh index 2215dd504..e6af2420b 100755 --- a/projects/harfbuzz/build.sh +++ b/projects/harfbuzz/build.sh @@ -15,6 +15,10 @@ # ################################################################################ +# Disable: +# 1. UBSan vptr since target built with -fno-rtti. +export CFLAGS="$CFLAGS -fno-sanitize=function,vptr" + # Build the library. ./autogen.sh ./configure