diff options
author | Raphaël Hertzog <raphael@offensive-security.com> | 2020-08-28 22:16:08 +0200 |
---|---|---|
committer | Raphaël Hertzog <raphael@offensive-security.com> | 2020-08-28 22:16:08 +0200 |
commit | 146ede0f29b447acf57232c1431ac6ee2a3b9154 (patch) | |
tree | f924566522f8531fa5c08e59b8d4187f53f76fc9 /src/afl-fuzz-init.c | |
parent | a3cd5232503928c440f7fda19762cdf122377128 (diff) | |
download | afl++-146ede0f29b447acf57232c1431ac6ee2a3b9154.tar.gz |
Add -fdebug-prefix-map to CFLAGS_SAFE
In Debian, we override CFLAGS to include -fdebug-prefix-map to avoid hardcoding the build path in any generated debug information. This is to help with getting the package to build reproducibly. However you seem to voluntarily not honor CFLAGS but only CFLAGS_SAFE for a limited number of source files. This resulted in a lintian warning on Debian's side (https://lintian.debian.org/tags/file-references-package-build-path.html) pointing to /usr/lib/afl/afl-llvm-rt-64.o and /usr/lib/afl/afl-llvm-rt.o. With this commit, I'm manually adding -fdebug-prefix-map as a safe build flag to CFLAGS_SAFE.
Diffstat (limited to 'src/afl-fuzz-init.c')
0 files changed, 0 insertions, 0 deletions