diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2020-04-11 21:13:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 06:13:02 -0700 |
commit | 41c719f127c1ca375da519962f145885b416f8e9 (patch) | |
tree | d51ea58153517ec71cbe5f2edd530a3bac11358d /projects/ghostscript | |
parent | 56041222c6f482cf5fbbc1984a6b8e2bacd4b923 (diff) |
[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-x | projects/ghostscript/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/ghostscript/build.sh b/projects/ghostscript/build.sh index 94d8a715..07ae5ee7 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 \ |