mirror of https://github.com/google/oss-fuzz.git
adding make to Dockerfiles
This commit is contained in:
parent
0dd9848893
commit
a8394ce0b6
|
@ -16,6 +16,6 @@
|
|||
|
||||
FROM ossfuzz/base-libfuzzer
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
RUN apt-get install -y autoconf automake libtool docbook2x
|
||||
RUN apt-get install -y make autoconf automake libtool docbook2x
|
||||
|
||||
CMD /src/oss-fuzz/expat/build.sh
|
||||
|
|
|
@ -7,6 +7,6 @@ cd /workspace/expat
|
|||
./configure
|
||||
make clean all
|
||||
|
||||
$CXX $CXXFLAGS -std=c++11 -Ilib/ \
|
||||
$CXX $CXXFLAGS $LDFLAGS -std=c++11 -Ilib/ \
|
||||
/src/oss-fuzz/expat/parse_fuzzer.cc -o /out/parse_fuzzer \
|
||||
/work/libfuzzer/*.o .libs/libexpat.a
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
FROM ossfuzz/base-libfuzzer
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
RUN apt-get install -y autoconf libtool libarchive-dev
|
||||
RUN apt-get install -y make autoconf libtool libarchive-dev
|
||||
|
||||
CMD /src/oss-fuzz/freetype2/build.sh
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ cd /workspace/
|
|||
./configure
|
||||
make
|
||||
|
||||
$CXX $CXXFLAGS -std=c++11 ./src/tools/ftfuzzer/ftfuzzer.cc \
|
||||
$CXX $CXXFLAGS $LDFLAGS -std=c++11 ./src/tools/ftfuzzer/ftfuzzer.cc \
|
||||
./objs/*.o /work/libfuzzer/*.o \
|
||||
-nodefaultlibs -Wl,-Bdynamic -lpthread -lrt -lm -ldl -lgcc_s -lgcc -lc \
|
||||
-Wl,-Bstatic -lc++ -lc++abi \
|
||||
|
|
|
@ -27,8 +27,9 @@ echo "Done."
|
|||
popd > /dev/null
|
||||
|
||||
export CFLAGS="-g $sanitizer_flags $cov_flags"
|
||||
export LIBCXX_FLAGS="-stdlib=libc++ -lc++abi"
|
||||
export LIBCXX_FLAGS="-stdlib=libc++"
|
||||
export CXXFLAGS="$CFLAGS $LIBCXX_FLAGS "
|
||||
export LDFLAGS="-lc++abi"
|
||||
|
||||
echo "CC=$CC"
|
||||
echo "CXX=$CXX"
|
||||
|
|
Loading…
Reference in New Issue