FreeBSD 5.3 Questions

Eric Kjeldergaard kjelderg at gmail.com
Thu Dec 2 20:13:28 PST 2004


> > 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.


More information about the freebsd-questions mailing list