Date: Fri, 5 May 2006 02:47:36 GMT From: kaiwai <kaiwai.gardiner@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/96808: Firefox fails to respect Makefile .mozconfig switches Message-ID: <200605050247.k452lams038481@www.freebsd.org> Resent-Message-ID: <200605050250.k452oMGd011151@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 96808 >Category: ports >Synopsis: Firefox fails to respect Makefile .mozconfig switches >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 05 02:50:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: kaiwai >Release: FreeBSD 6.0p7 >Organization: >Environment: tchaikovsky# uname -a FreeBSD tchaikovsky.stpetersburg 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Wed May 3 20:33:14 NZST 2006 root@tchaikovsky.stpetersburg:/usr/obj/usr/src/sys/GENERIC i386 tchaikovsky# >Description: When compiling Firefox, I edited the file Makefile as to specify the optimization level that I wished to use as to it fails to respect the CFLAG variable specified in make.conf I added --enable-optimize=-Os to the make file When .mozconfig file was created, not only was --enable-optimize=-Os added, but --enable-optimize=-O too, resulting in --enable-optimize=-O being used as default. The only way around this I found was to press ctlr-c to cancel (before it got to configuration stage), manually edit the .mozconfig file, and remove the offending switches. >How-To-Repeat: As perusual, make install >Fix: delete the original .mozconfig file, and copy a static one into its place as to force it to use the options dictated by Makefile rather than going with its 'built in defaults'. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605050247.k452lams038481>