Makefile show all flags

Jamie Landeg-Jones jamie at catflap.org
Sun Dec 10 13:34:23 UTC 2017


blubee blubeeme <gurenchan at gmail.com> wrote:

> When porting software FreeBSD has a lot of internal makefiles that gets
> pulled in that setup the build environment: /usr/ports/Mk/*
>
> Is there a way to print out the env during the make process so that I can
> see what knobs, switches and flags were set before the build is run?

Is this any use?

make -dA ....

It's pretty verbose. I'd suggest running it through "script" or redirecting
stderr to a file!

cheers, jamie



More information about the freebsd-questions mailing list