1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

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.
This commit is contained in:
David E. O'Brien 2000-04-04 09:27:59 +00:00
parent 27173c13e8
commit 0e8d7e82a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=59006
2 changed files with 12 additions and 0 deletions

View File

@ -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

View File

@ -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