about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-12-28 13:31:20 +0100
committervan Hauser <vh@thc.org>2020-12-28 13:31:20 +0100
commitf1b4b38152afd1739e10aafe0febe06854ac62ae (patch)
tree904fec08a2de0108950abd62bd1fb8152417ed7a
parent8e2b59ffcab0102e3bebe0c4ed64cb9d36de5559 (diff)
downloadafl++-f1b4b38152afd1739e10aafe0febe06854ac62ae.tar.gz
fix dockerfile for older CPUs
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index c8e09b66..abb76209 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -56,7 +56,7 @@ WORKDIR /AFLplusplus
 
 RUN export REAL_CXX=g++-10 && export CC=gcc-10 && \
     export CXX=g++-10 && make clean && \
-    make distrib && make install && make clean
+    make distrib CFLAGS="-O3 -funroll-loops -D_FORTIFY_SOURCE=2" && make install && make clean
 
 RUN echo 'alias joe="jupp --wordwrap"' >> ~/.bashrc
 RUN echo 'export PS1="[afl++]$PS1"' >> ~/.bashrc