Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 1997 15:58:35 +1000 (EST)
From:      David Nugent <davidn@labs.usn.blaze.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   misc/3578: defining CXXFLAGS in /etc/make.conf or environment breaks groff build
Message-ID:  <199705120558.PAA08410@labs.usn.blaze.net.au>
Resent-Message-ID: <199705120600.XAA01171@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3578
>Category:       misc
>Synopsis:       defining CXXFLAGS in /etc/make.conf or environment breaks groff build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 11 23:00:01 PDT 1997
>Last-Modified:
>Originator:     David Nugent <davidn@blaze.net.au>
>Organization:
Me
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	Affects any 3.0-current machine, probably 2.2 but not tested.

>Description:

	Defining a default value for CXXFLAGS in /etc/make.conf or
	in the environment, and attempting to build groff in the
	source tree causes a make world failure.

>How-To-Repeat:

	setenv CXXFLAGS "-O -m486 -pipe"  or
	CXXFLAGS="-O -m486 -pipe"; export CXXFLAGS

	cd /usr/src
	make world

	The make depend step will fail in gnu/usr.bin/groff/libgroff.

>Fix:
	
	The groff Makefile (or Makefile.cfg) should probably override
	CXXFLAGS to the current CFLAGS, or set CXXFLAGS as well for c++
	sources.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705120558.PAA08410>