From owner-freebsd-gecko@FreeBSD.ORG Wed Jun 27 18:00:44 2012 Return-Path: Delivered-To: gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FC0D106566C for ; Wed, 27 Jun 2012 18:00:44 +0000 (UTC) (envelope-from andy@neu.net) Received: from mail.neu.net (unknown [IPv6:2607:fc50:0:d300:216:3eff:fe54:f1c6]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5028FC08 for ; Wed, 27 Jun 2012 18:00:43 +0000 (UTC) Received: from neu.net (neu.net [199.48.129.194]) by mail.neu.net (8.14.5/8.14.5) with ESMTP id q5RI0ZNG076163; Wed, 27 Jun 2012 14:00:42 -0400 (EDT) (envelope-from andy@neu.net) Date: Wed, 27 Jun 2012 14:00:35 -0400 (EDT) From: AN To: Sayetsky Anton In-Reply-To: <201206271030.q5RAUGk1053904@freefall.freebsd.org> Message-ID: References: <201206271030.q5RAUGk1053904@freefall.freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-0.0 required=5.0 tests=T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.neu.net Cc: gecko@freebsd.org Subject: Re: ports/169479: www/firefox always adds -O0 to CFLAGS X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 18:00:44 -0000 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 > 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?