tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build.sh vs. environment and mk.conf



On Wed, 24 Sep 2008, Alan Barrett wrote:
   Would it be good or bad if build.sh cleared the environment, so
   that the only way to set variables that influence the build was
   through "-V variable=value" flags passed to build.sh, or through
   mk.conf?

nuking the full environment sounds easy, but in the mean time I've found out that this is not good everywhere ("cc: can't build executables" when building from Mac OS). I'm leaning towards selectively erasing variables that are known to cause problems (maybe even per build-platform).


 - Hubert


Home | Main Index | Thread Index | Old Index