diff options
author | obrien <obrien@FreeBSD.org> | 2000-04-04 09:27:59 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-04-04 09:27:59 +0000 |
commit | 45392a5096c603280d152a3c812b49f3f3934d88 (patch) | |
tree | cf5c3e4dc7e7d85bc85fe3cab529c95a5a7d406d /etc | |
parent | 8efc52e23945fe19a226d0f430ef1275dd820bfe (diff) | |
download | FreeBSD-src-45392a5096c603280d152a3c812b49f3f3934d88.zip FreeBSD-src-45392a5096c603280d152a3c812b49f3f3934d88.tar.gz |
Add an example of how to tweak CXXFLAGS in a make.conf file.
This is in responce to several people breaking their world builds by
incorrectly assigning to CXXFLAGS.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/defaults/make.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/defaults/make.conf b/etc/defaults/make.conf index 843e5eb..c707985 100644 --- a/etc/defaults/make.conf +++ b/etc/defaults/make.conf @@ -19,6 +19,12 @@ # #CFLAGS= -O -pipe # +# CXXFLAGS controls the compiler settings used when compiling C++ code. +# Note that CXXFLAGS is initially set to the value of CFLAGS. If you wish +# to add to CXXFLAGS value, "+=" must be used rather than "=". Using "=" +# alone will remove the often needed contents of CFLAGS from CXXFLAGS. +# +#CXXFLAGS+= -fmemoize-lookups -fsave-memoized # # Avoid compiling profiled libraries #NOPROFILE= true |