summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-04 09:27:59 +0000
committerobrien <obrien@FreeBSD.org>2000-04-04 09:27:59 +0000
commit45392a5096c603280d152a3c812b49f3f3934d88 (patch)
treecf5c3e4dc7e7d85bc85fe3cab529c95a5a7d406d /share
parent8efc52e23945fe19a226d0f430ef1275dd820bfe (diff)
downloadFreeBSD-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 'share')
-rw-r--r--share/examples/etc/make.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/examples/etc/make.conf b/share/examples/etc/make.conf
index 843e5eb..c707985 100644
--- a/share/examples/etc/make.conf
+++ b/share/examples/etc/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
OpenPOWER on IntegriCloud