Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2010 11:28:06 -0400
From:      "Eric W. Bates" <ericx@ericx.net>
To:        freebsd-isp@freebsd.org
Subject:   Building hardware agnostic systems
Message-ID:  <4BEAC906.8040504@ericx.net>

next in thread | raw e-mail | index | archive | help
I'm having trouble building a machine which I can reliably clone onto 
another machine and have everything run correctly.

My make.conf has no CPUTYPE, CFLAGS, or COPTFLAGS. Does the default -O 
cause gcc to build hardware specific? Do I need NO_CPU_CFLAGS and 
NO_CPU_COPTFLAGS as well?

Typically, my kernel boots OK (I usually use GENERIC anyway); but some 
of the ports don't work. Notably clamd sometimes segfaults when I move 
it to another machine.

Thanks.



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