> On 20 Jul 2015, at 04:29, Simon J. Gerraty <s...@juniper.net> wrote:
> O'Connor, Daniel <dar...@dons.net.au> wrote:
>> But this did not..
>> make -j 8 buildworld MAKEOBJDIRPREFIX=/src/obj-amd64
> Nor should it.
> There are several makefiles in the tree that expect to be able to 
> change MAKEOBJDIRPREFIX in the environment of a sub-make.
> When you set it on the command line like that you prevent such changes
> from working.

Ahh.. You learn something new every day :)

>> So, it seems MAKEOBJDIRPREFIX only works as an environmental variable
> Yes, it has always been documented that way.

Weird, I could have sworn I have set it on the command line and had it work, 

>> - I wonder if there is a way the make system can be changed to warn
>> about that?
> I thought there was a check in src/Makefile for that.

Not so far as I can tell - it certainly gets quite far before blowing up with a 
non useful error message :)

Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

freebsd-current@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to