pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/45346: devel/xulrunner built with debug symbols
>Number: 45346
>Category: pkg
>Synopsis: devel/xulrunner built with debug symbols
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 08 21:05:00 +0000 2011
>Originator: Pierre Allegraud
>Release: Current
>Organization:
>Environment:
>Description:
devel/xulrunner has a "debug" option, not suggested by default. However, the
libraries are built with debug symbols and are HUGE (140MB). Furthermore,
linking takes a lot of time.
>How-To-Repeat:
>Fix:
Add the --disable-debug-symbols in configure.
I m using this patch:
Index: devel/xulrunner/options.mk
===================================================================
--- devel/xulrunner/options.mk
+++ devel/xulrunner/options.mk
@@ -43,10 +43,11 @@
CONFIGURE_ARGS+= --enable-debug
CONFIGURE_ARGS+= --disable-install-strip
PLIST.debug= yes
.else
CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug-symbols
.endif
.if !empty(PKG_OPTIONS:Mmozilla-jit)
PLIST.jit= yes
PLIST_SUBST+= NANOJIT_ARCH=${NANOJIT_ARCH.${MACHINE_ARCH}}
Home |
Main Index |
Thread Index |
Old Index