Fighting waf for C preprocessor output.
Thomas Nagy
tnagy at waf.io
Sat Mar 14 08:19:21 UTC 2020
On Fri, 13 Mar 2020 20:15:55 -0700, Jeremy Allison via samba-technical <samba-technical at lists.samba.org> wrote:
> Does anyone know how to make waf generate
> the actual gcc command line it uses to
> compile .c -> .o ?
>
> Doing:
>
> PYTHONHASHSEED=1 WAF_MAKE=1 ./buildtools/bin/waf -v build
>
> causes it to dump out a python array, bracketed
> by [] characters, but I was hoping not to have
> to fight it any more :-).
Try this instead:
WAF_CMD_FORMAT=string PYTHONHASHSEED=1 WAF_MAKE=1 ./buildtools/bin/waf -v build
Thomas
More information about the samba-technical
mailing list