about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-03-09 16:53:56 +0100
committervanhauser-thc <vh@thc.org>2021-03-09 16:53:56 +0100
commit47f2650a32470172a32c4ebd446003cb8a4b80e8 (patch)
tree69deb46ab5a81758b9b0d5699dc346e6685c90bc /docs/env_variables.md
parent74a6044b3fba496c1255f9aedbf5b7253ae29f0e (diff)
downloadafl++-47f2650a32470172a32c4ebd446003cb8a4b80e8.tar.gz
add AFL_NOOPT
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index f6ed12d0..a20f1e42 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -26,6 +26,17 @@ Because (with the exception of the --afl-MODE command line option) the
 compile-time tools do not accept afl specific command-line options, they
 make fairly broad use of environmental variables instead:
 
+  - Some build/configure scripts break with afl++ compilers. To be able to
+    pass them, do:
+```
+       export CC=afl-cc
+       export CXX=afl-c++
+       export AFL_NOOPT=1
+       ./configure --disable-shared --disabler-werror
+       unset AFL_NOOPT
+       make
+```
+
   - Most afl tools do not print any output if stdout/stderr are redirected.
     If you want to get the output into a file then set the `AFL_DEBUG`
     environment variable.