Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 1998 20:34:07 -0500 (EST)
From:      tom@tomqnx.com (Tom Torrance at home)
To:        hackers@FreeBSD.ORG
Subject:   Weird 'make' trivia
Message-ID:  <m0zXy1P-000I0NC@TomQNX.tomqnx.com>

next in thread | raw e-mail | index | archive | help
If you ever do a 'make world' and mkdep fails in libgroff, unable to
find a bunch of existing includes for *.cc files, you somehow had
CXXFLAGS instantiated with a value before issuing the 'make world'.
Unset it.

On the other hand, it is a good idea to set CFLAGS permanently to
your preferred optimization values (I use -O2 -m486 -pipe).  This is
because 'configure' scripts test to see if there are pre-existing
values in CFLAGS, and ensure they are used in any subsequent 
compiles.  Otherwise the default -O will probably be used.

Tom
PS. It was fun finding that one!


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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