about summary refs log tree commit diff
path: root/examples/distributed_fuzzing/sync_script.sh
diff options
context:
space:
mode:
authorRaphaël Hertzog <raphael@offensive-security.com>2020-08-28 22:16:08 +0200
committerRaphaël Hertzog <raphael@offensive-security.com>2020-08-28 22:16:08 +0200
commit146ede0f29b447acf57232c1431ac6ee2a3b9154 (patch)
treef924566522f8531fa5c08e59b8d4187f53f76fc9 /examples/distributed_fuzzing/sync_script.sh
parenta3cd5232503928c440f7fda19762cdf122377128 (diff)
downloadafl++-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 'examples/distributed_fuzzing/sync_script.sh')
0 files changed, 0 insertions, 0 deletions