View Single Post
Old 2nd August 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

It would seem that this is harmless:
http://lists.freebsd.org/pipermail/c...er/142330.html

Assuming you don't need debug symbols, you can remove ``makeoptions DEBUG=-g'', which would make the warnings go away (And speed up builds a bit too).

Quote:
Originally Posted by Weaseal View Post
This is an amd64 machine. I noticed that my old 6.x kernel had such a 'machine amd64' line but the GENERIC /usr/src/sys/amd64/conf/GENERIC had no such line so I figured it had been knocked out for 7.x. Are you sure that is valid for 7.x?
The ``machine xyz'' line is no longer needed in FreeBSD 7, using ``cpu xyz'' is enough.

Quote:
Comment out

CFLAGS=-O2 -pipe
COPTFLAGS=-O2 -pipe

They will break things...
No, this won't do any good, the default CFLAGS are ``-fno-strict-aliasing -O2 -pipe''

In addition, CFLAGS is not used for kernel builds anyway.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote