Problems compiling BUILDING from STABLE
Garrett Cooper
youshi10 at u.washington.edu
Sat May 26 21:41:57 UTC 2007
Daniel Molina Wegener wrote:
> On Saturday 26 May 2007 13:14:52 Maslan wrote:
>>> Have u missed with the CFLAGS ?
>> Sorry, i mean "messed up"
>
> Sorry, I can't understand... what's wrong with my CFLAGS.
> These flags works for STABLE -- in my make.conf:
>
> --------------------------------8<-------------------------
> LOCLACFLAGS=-march=prescott -O2 -pipe
> CFLAGS=$(LOCLACFLAGS)
> COPTFLAGS=$(LOCLACFLAGS)
> CXXFLAGS+=$(LOCLACFLAGS)
> CXXOPTFLAGS+=$(LOCLACFLAGS)
> --------------------------------8<-------------------------
>
> Why shouln't work for CURRENT?
>
> All the other CFLAGS are added because the targets are using
> the level 6 of warnings in sys/mk/bsd.sys.mk
>
>>
>> ---
>> OS Developer
>> I'm Searching For Perfection,
>> So Even If U Need Portability U've To Use Assembly ;-)
>> ---
>> http://libosdk.berlios.de
>> [SNIP]
>
> Regards,
Set CPUTYPE to prescott. You don't need to pass it in as -march, like
the manpage for gcc says.
Only pass it in as -march=prescott if you're compiling your own program
outside of make/gmake.
-Garrett
More information about the freebsd-hackers
mailing list