From shmit@natasya.kublai.com  Wed Feb 25 12:48:43 1998
Received: from coleridge.kublai.com (coleridge.kublai.com [207.96.1.116])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13229
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Feb 1998 12:48:42 -0800 (PST)
          (envelope-from shmit@natasya.kublai.com)
Received: from natasya.kublai.com (natasya.kublai.com [207.172.25.236])
	by coleridge.kublai.com (8.8.8/8.8.8) with ESMTP id PAA05042
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Feb 1998 15:48:35 -0500 (EST)
	(envelope-from shmit@natasya.kublai.com)
Received: (from shmit@localhost)
	by natasya.kublai.com (8.8.8/8.8.8) id PAA07506;
	Wed, 25 Feb 1998 15:48:31 -0500 (EST)
Message-Id: <199802252048.PAA07506@natasya.kublai.com>
Date: Wed, 25 Feb 1998 15:48:31 -0500 (EST)
From: Brian Cully <shmit@kublai.com>
Reply-To: shmit@kublai.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: make world fails with CXXFLAGS set
X-Send-Pr-Version: 3.2

>Number:         5847
>Category:       bin
>Synopsis:       Makeworld fails if CXXFLAGS is set.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 25 12:50:01 PST 1998
>Closed-Date:    Mon Sep 4 15:23:35 PDT 2000
>Last-Modified:  Mon Sep 04 15:24:09 PDT 2000
>Originator:     Brian Cully
>Release:        FreeBSD 3.0-CURRENT i386 and FreeBSD-RELENG_2_2
>Organization:
>Environment:

>Description:
	It looks like CXXFLAGS only gets set if it's not already set,
	so proper include flags get lost.

>How-To-Repeat:
	# export CXXFLAGS="-O"
	# cd /usr/src
	# make world

>Fix:
	
	

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Mon Sep 4 15:23:35 PDT 2000 
State-Changed-Why:  
See /etc/defaults/make.conf for examples of how to correctly 
set CXXFLAGS: 

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


http://www.freebsd.org/cgi/query-pr.cgi?pr=5847 
>Unformatted:
