Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2004 22:13:27 -0600
From:      Eric Kjeldergaard <kjelderg@gmail.com>
To:        epilogue <epilogue@allstream.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 5.3 Questions
Message-ID:  <d9175cad04120220132dcdaeee@mail.gmail.com>
In-Reply-To: <20041202204948.28dc6530@localhost>
References:  <20041203001318.GB6015@gardnerclan.net> <20041202204948.28dc6530@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 2) How do I set GCC flags when compiling a port. I added
> >    CFLAGS="-O2 -march=pentium3 -pipe" to /etc/make.conf, but
> >    get an error when building a port. The error is get is
> >    "env: -pipe No such file or directory"
> 
> /usr/share/examples/etc/make.conf may help you here.
> 

Just one quick addend to what epi has stated.  Ports are almost
assuredly failing because -O2 is unsupported in ports.  The ports that
are -O2 good generally enable it on WITH_OPTIMIZED_CFLAGS or some such
tag.

-- 
If I write a signature, my emails will appear more personalised.



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