Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 14:00:35 -0400 (EDT)
From:      AN <andy@neu.net>
To:        Sayetsky Anton <vsjcfm@gmail.com>
Cc:        gecko@freebsd.org
Subject:   Re: ports/169479: www/firefox always adds -O0 to CFLAGS
Message-ID:  <alpine.BSF.2.00.1206271358080.76109@mail.neu.net>
In-Reply-To: <201206271030.q5RAUGk1053904@freefall.freebsd.org>
References:  <201206271030.q5RAUGk1053904@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 27 Jun 2012, Sayetsky Anton wrote:

> The following reply was made to PR ports/169479; it has been noted by GNATS.
>
> From: Sayetsky Anton <vsjcfm@gmail.com>
> To: bug-followup@freebsd.org
> Cc:
> Subject: Re: ports/169479: www/firefox always adds -O0 to CFLAGS
> Date: Wed, 27 Jun 2012 13:15:51 +0300
>
> > Currently, Firefox (and other mozilla ports) does not build with base gcc on higher optimization levels.
> Thank you for info.
> But this is absolute incorrect way. Ports must not force user to
> change his own preferences and build settings.
> I think that more correct way is add an option like following:
> OPTIMIZATION   Support for optimization levels higher than O0 (needs gcc 4.6+)
> And when user selects it, port must pull in required toolchain.
> _______________________________________________
> freebsd-gecko@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gecko
> To unsubscribe, send any mail to "freebsd-gecko-unsubscribe@freebsd.org"
>
I have gcc 4.6+ installed, I want to use it to compile FF.  How do I tell 
firefox to use gcc 4.6+ to build?



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