Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 17:46:15 +0200
From:      Mathieu Prevot <freebsd-stable@club-internet.fr>
To:        freebsd-stable@freebsd.org
Subject:   .MAKEFLAGS edited is not taken into account e.g. in make.conf
Message-ID:  <20060530154615.GA1544@scienceclue.ath.cx>

next in thread | raw e-mail | index | archive | help
Hello,

only real arguments (passed with command) are taken into account,
when I edit .MAKEFLAGS (makefile or /etc/make.conf) there is a new .MAKEFLAGS
but there no expected effects.
You can test this with the -dA option, and with the following ./makefile
content (extract):
-----
.MAKEFLAGS+= -dA
disp:
	@echo ${.MAKEFLAGS}
-----

`make -dA` works fine
`make -dA disp` displays "-dA -dA"

BUT

`make` does NOT work i.e. there is no debug output
`make disp` displays "-dA"

I use RELENG_6 amd64 ...

regards,
Mathieu



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