Subject: Re: setting compiler flags globally?
To: Georg Schwarz <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 04/03/2005 14:26:06
On Sun, 3 Apr 2005, Georg Schwarz wrote:
>> individual pkgs' Makefiles, so something acting on the wrapper layer would
>> probably be useful. Maybe a PKGSRC_CFLAGS?
> the problem is not having no such variable, the problem is many packages,
> as you already say, not  paying attention to such setting.
> So I don't think adding another variable will solve anything.
> The best, IMO, would be to have more packages pay attention to
> CFLAGS, LDFLAGS, CPPFLAGS, CXXFLAGS set by pkgsrc. This for many
> packages does require some tweaking. I don't think adding another variable
> would make the job any easier.

Why do you think teaching this to many pkgs is better than teaching it to 
the compiler wrapper (similar to what PKGSRC_COMPILER already does see 

  - Hubert

NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)