Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 09/04/2003 19:38:06
Module Name: pkgsrc
Committed By: jlam
Date: Thu Sep 4 19:38:06 UTC 2003
Modified Files:
pkgsrc/mk/buildlink3: bsd.buildlink3.mk
Log Message:
Allow buildlink3.mk file to specify BUILDLINK_CFLAGS.<pkg> that are
automatically added to CFLAGS and CXXFLAGS. Note that -D... and -I...
settings should go into BUILDLINK_CPPFLAGS.<pkg> instead. BUILDLINK_CFLAGS
is reserved for stuff like "-pthread" or other compiler-specific flags.
Also note why we add BUILDLINK_CPPFLAGS.<pkg> to both CFLAGS and CXXFLAGS
(because a lot of software just uses CFLAGS and ignores any CPPFLAGS value
that we pass to it).
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/buildlink3/bsd.buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.