Subject: Adding a 'USE_CPUFLAGS' variable to pkgsrc (pkg/24811)
To: None <tech-pkg@netbsd.org>
From: None <abs@absd.org>
List: tech-pkg
Date: 06/20/2004 13:00:27
Currently cpuflags.mk (from decel/cpuflags) can be included
from mk.conf. Unfortunately this include occurs before
pkgsrc pulls in compiler.mk. In order to correctly detect
the compiler in use cpuflags.mk would need to be included
after compiler.mk. The only obvious way I can see for this
to happen would be to add a USE_CPUFLAGS option which would
cause cpuflags to be built and then cpuflags.mk included
after compiler.mk.
Does anyone have any other ideas (or objections if not :)
--
David Brownlee -- abs@absd.org