diff options
author | Raphaël Hertzog <raphael@offensive-security.com> | 2020-08-28 21:55:52 +0200 |
---|---|---|
committer | Raphaël Hertzog <raphael@offensive-security.com> | 2020-08-28 21:55:52 +0200 |
commit | c0fd7ba6d17cfeff69ff650018240a6c33946464 (patch) | |
tree | 813e4d1662dd71acd496d12729a64bebfa1b04db /llvm_mode/afl-clang-fast.c | |
parent | a3cd5232503928c440f7fda19762cdf122377128 (diff) | |
download | afl++-c0fd7ba6d17cfeff69ff650018240a6c33946464.tar.gz |
Pass CPPFLAGS to all calls of the C compiler
This variable is a standard way to inject options for the C preprocessor. It's respected by the implicit rules of make and autoconf/automake. Debian sets this variable during package build to inject `-D_FORTIFY_SOURCE=2` and we would like afl++ to respect it. Note that this commit also adds $(CFLAGS) in the build of afl-performance.o where it was missing. It might have been on purpose but we want to keep CFLAGS everywhere as well since Debian injects various options through that variable (for hardening and reproducibility).
Diffstat (limited to 'llvm_mode/afl-clang-fast.c')
0 files changed, 0 insertions, 0 deletions