aboutsummaryrefslogtreecommitdiff
path: root/projects/ghostscript
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2020-04-11 21:13:02 +0800
committerGitHub <noreply@github.com>2020-04-11 06:13:02 -0700
commit41c719f127c1ca375da519962f145885b416f8e9 (patch)
treed51ea58153517ec71cbe5f2edd530a3bac11358d /projects/ghostscript
parent56041222c6f482cf5fbbc1984a6b8e2bacd4b923 (diff)
downloadoss-fuzz-41c719f127c1ca375da519962f145885b416f8e9.tar.gz
[ghostscript] Enable flag also used in valgrind builds. (#3620)
Valgrind may complain when software reads out partially uninitialized data and stores it elsewhere, but only reads the initialized parts from this latter location. The flag enables code that initializes all the data to avoid valgrind reporting false positives. Presumably MSAN suffers from similar issues so, try enabling this flag.
Diffstat (limited to 'projects/ghostscript')
-rwxr-xr-xprojects/ghostscript/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/ghostscript/build.sh b/projects/ghostscript/build.sh
index 94d8a715d..07ae5ee70 100755
--- a/projects/ghostscript/build.sh
+++ b/projects/ghostscript/build.sh
@@ -43,7 +43,7 @@ CUPS_LDFLAGS=$($CUPSCONFIG --ldflags)
CUPS_LIBS=$($CUPSCONFIG --image --libs)
export CXXFLAGS="$CXXFLAGS $CUPS_CFLAGS"
-CPPFLAGS="${CPPFLAGS:-} $CUPS_CFLAGS" ./autogen.sh \
+CPPFLAGS="${CPPFLAGS:-} $CUPS_CFLAGS -DPACIFY_VALGRIND" ./autogen.sh \
CUPSCONFIG=$CUPSCONFIG \
--enable-freetype --enable-fontconfig \
--enable-cups --with-ijs --with-jbig2dec \