Hardcoded /usr/local in afl-gcc's help

41 views
Skip to first unread message

Jakub Wilk

unread,
Mar 6, 2015, 8:18:43 AM3/6/15
to afl-...@googlegroups.com
Hi Michal!

Ph. Marek reported[0] in the Debian BTS that afl-gcc's help message has
/usr/local/bin hardcoded as path to AFL compilers:

$ /usr/bin/afl-gcc 2>&1 | grep local
CC=/usr/local/bin/afl-gcc ./configure
CXX=/usr/local/bin/afl-g++ ./configure

Could you change it so that it simply says "CC=afl-gcc" and
"CXX=afl-g++"? That way one could copy&paste the lines even when AFL
were installed into /usr.


[0] https://bugs.debian.org/779921

--
Jakub Wilk

Michal Zalewski

unread,
Mar 6, 2015, 11:02:24 AM3/6/15
to afl-users
> $ /usr/bin/afl-gcc 2>&1 | grep local
> CC=/usr/local/bin/afl-gcc ./configure
> CXX=/usr/local/bin/afl-g++ ./configure

Ah, yeah, missed that spot. Replaced with BIN_PATH for the next release.

/mz
Reply all
Reply to author
Forward
0 new messages