docs/71359: /usr/share/examples/etc/make.conf contains broken CXXFLAGS

Giorgos Keramidas keramida at freebsd.org
Sat Sep 4 13:20:23 UTC 2004


The following reply was made to PR docs/71359; it has been noted by GNATS.

From: Giorgos Keramidas <keramida at freebsd.org>
To: Chris Pepper <pepper at reppep.com>,
	Paul Mather <paul at gromit.dlib.vt.edu>
Cc: bug-followup at freebsd.org
Subject: Re: docs/71359: /usr/share/examples/etc/make.conf contains broken CXXFLAGS
Date: Sat, 4 Sep 2004 15:46:52 +0300

 On 2004-09-03 23:31, Chris Pepper <pepper at reppep.com> wrote:
 > >Description:
 > 	/usr/share/examples/etc/make.conf suggests:
 > CXXFLAGS+= -fmemoize-lookups -fsave-memoized
 > 	but this prevents make buildworld in RELENG_5.
 > [...]
 > >Fix:
 > Remove this sample from the example, or replace it with one that's
 > safe under RELENG_5
 
 You don't *have* to use the same CXXFLAGS options as the ones of the
 example.  It's an example, after all.  Anyway, would you prefer something
 like this instead?
 
     # 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.
    +# For a description of the options recognized by the GNU C++ compiler
    +# please refer to the c++(1) manpage and the info documentation of GCC.
     #
    -#CXXFLAGS+= -fmemoize-lookups -fsave-memoized
    +#CXXFLAGS+= -O -pipe
 



More information about the freebsd-doc mailing list