ports/158380: [patch] www/firefox: use less space/memory during
build
Pan Tsu
inyaoo at gmail.com
Tue Jun 28 10:00:23 UTC 2011
>Number: 158380
>Category: ports
>Synopsis: [patch] www/firefox: use less space/memory during build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gecko
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 28 10:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Pan Tsu
>Release: FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
Shave space consumed by WRKDIR for non-debug build:
- don't generate debugging info in .o files by default[1]
- strip(1) programs and libraries after linking
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=636695
>How-To-Repeat:
>Fix:
--- a.diff begins here ---
Index: Mk/bsd.gecko.mk
===================================================================
RCS file: /a/.cvsup/ports/Mk/bsd.gecko.mk,v
retrieving revision 1.28
diff -u -p -r1.28 bsd.gecko.mk
--- Mk/bsd.gecko.mk 21 Jun 2011 21:12:30 -0000 1.28
+++ Mk/bsd.gecko.mk 28 Jun 2011 09:21:36 -0000
@@ -638,6 +649,7 @@ MOZ_OPTIONS+= --enable-necko-protocols=$
MOZ_OPTIONS+= --with-system-zlib=/usr \
--with-gssapi=${KRB5_HOME} \
--disable-auto-deps \
+ --disable-debug-symbols \
--enable-chrome-format=jar \
--disable-cpp-exceptions \
--disable-cpp-rtti \
@@ -673,6 +681,8 @@ MOZ_OPTIONS+= --disable-gnomevfs
.if !defined(STRIP) || ${STRIP} == ""
MOZ_OPTIONS+= --disable-strip --disable-install-strip
+.else
+MOZ_OPTIONS+= --enable-strip --enable-install-strip
.endif
.if defined(WITH_DEBUG)
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-gecko
mailing list