]> granicus.if.org Git - imagemagick/commitdiff
temporary workaround to fix ubsan oss-fuzz (#1056)
authorPaul Kehrer <paul.l.kehrer@gmail.com>
Fri, 30 Mar 2018 09:16:34 +0000 (04:16 -0500)
committerDirk Lemstra <dlemstra@users.noreply.github.com>
Fri, 30 Mar 2018 09:16:34 +0000 (11:16 +0200)
Magick++/fuzz/build.sh

index 037f6af370ccdf80e1a47f4473bb26916dde4731..36276fa8a41be5f029c30a10556fc2b9f0a15be3 100644 (file)
@@ -17,7 +17,7 @@ make install
 popd
 
 # Build ImageMagick
-./configure --prefix="$WORK" --disable-shared --disable-docs LIBS="-lc++" LDFLAGS="${LDFLAGS:-} -L$WORK/lib" CFLAGS="$CFLAGS -I$WORK/include" PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
+./configure --prefix="$WORK" --disable-shared --disable-docs LIBS="-lc++ -lubsan" LDFLAGS="${LDFLAGS:-} -L$WORK/lib" CFLAGS="$CFLAGS -I$WORK/include" PKG_CONFIG_PATH="$WORK/lib/pkgconfig"
 make "-j$(nproc)"
 make install