Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 2017 13:34:21 +0000
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        gurenchan@gmail.com, freebsd-questions@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Makefile show all flags
Message-ID:  <201712101334.vBADYLgI079284@donotpassgo.dyslexicfish.net>
In-Reply-To: <CALM2mEnGnZfK2VbavCYPB4LnkLZY7TsOD7_7HMN%2B00_Fhf9Whw@mail.gmail.com>
References:  <CALM2mEnGnZfK2VbavCYPB4LnkLZY7TsOD7_7HMN%2B00_Fhf9Whw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
blubee blubeeme <gurenchan@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712101334.vBADYLgI079284>