adding make to Dockerfiles

This commit is contained in:
Mike Aizatsky 2016-07-28 13:46:35 -07:00
parent 0dd9848893
commit a8394ce0b6
5 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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"