Date: Tue, 08 Mar 2005 16:38:32 +1000 From: Peter Grehan <grehan@freebsd.org> To: Martin Minkus <diskiller@diskiller.net> Cc: powerpc@freebsd.org Subject: Re: cross compile libc Message-ID: <422D4868.5040303@freebsd.org> In-Reply-To: <BE5389E7.2A88E%diskiller@diskiller.net> References: <BE5389E7.2A88E%diskiller@diskiller.net>
index | next in thread | previous in thread | raw e-mail
> Just a warning. Make sure you edit your /etc/make.conf
>
> And change any lines that contain something like this:
>
> CFLAGS=-O -pipe -march=pentiumpro -mtune=pentiumpro
>
> To this:
>
> CFLAGS=-O -pipe
You might be able to conditionalize your make.conf with something like:
.if ${TARGET_ARCH} == "i386"
CFLAGS=-O -pipe -march=pentiumpro -mtune=pentiumpro
.endif
later,
Peter.
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?422D4868.5040303>
