Date: Tue, 08 Mar 2005 17:06:14 +1030 From: Martin Minkus <diskiller@diskiller.net> To: Peter Grehan <grehan@freebsd.org> Cc: powerpc@freebsd.org Subject: Re: cross compile libc Message-ID: <BE538C06.2A96A%diskiller@diskiller.net> In-Reply-To: <422D4868.5040303@freebsd.org>
index | next in thread | previous in thread | raw e-mail
On 8/3/05 5:08 PM, "Peter Grehan" <grehan@freebsd.org> wrote:
>> 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
Not a bad idea! I'll do that.
Thanks,
Martin.
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE538C06.2A96A%diskiller>
