]> granicus.if.org Git - imagemagick/commitdiff
Fixed building fuzzers
authorAlex Gaynor <alex.gaynor@gmail.com>
Fri, 11 May 2018 14:27:29 +0000 (10:27 -0400)
committerDirk Lemstra <dlemstra@users.noreply.github.com>
Fri, 11 May 2018 21:24:18 +0000 (23:24 +0200)
Magick++/fuzz/build.sh

index fb49e5e905aa588193e75efee488c7242c10d96c..16acd2a1ab53bfb1d515ac1664745a9d568f8eb7 100644 (file)
@@ -47,7 +47,7 @@ popd
 # build libraw
 pushd "$SRC/libraw"
 autoreconf -fiv
-./configure --prefix="$WORK" --disable-shared --with-pic=yes --disable-examples PKG_CONFIG_PATH="$WORK/lib/pkgconfig" -DLIBRAW_USE_CALLOC_INSTEAD_OF_MALLOC=on
+./configure --prefix="$WORK" --disable-shared --with-pic=yes --disable-examples PKG_CONFIG_PATH="$WORK/lib/pkgconfig" CFLAGS="$CFLAGS -DLIBRAW_USE_CALLOC_INSTEAD_OF_MALLOC=on"
 make -j$(nproc)
 make install
 popd