Build with --disable-debug-symbols, to avoid a 1.1GB libxul.so and 300MB

package (older versions didn't do this). Noticed by solene@, ok attila (maintainer)
This commit is contained in:
sthen 2018-10-04 19:56:38 +00:00
parent 4ebb8f2018
commit 76200093b5
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.27 2018/09/28 14:54:26 sthen Exp $
# $OpenBSD: Makefile,v 1.28 2018/10/04 19:56:38 sthen Exp $
# Some of this comes from www/firefox-esr as apropos, since Tor
# browser is a fork of ESR. It is a good idea to look at that
# Makefile when editing this one (ESR versions not always the same).
@ -9,6 +9,7 @@ ONLY_FOR_ARCHS = amd64 i386
MOZILLA_VERSION = ${TB_VERSION}
MOZILLA_PROJECT = ${BROWSER_NAME}
MOZILLA_CODENAME = browser
REVISION = 0
EXTRACT_SUFX = .tar.gz
PATCHORIG = .pat.orig

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-_mozconfig,v 1.3 2018/10/03 14:55:36 sthen Exp $
$OpenBSD: patch-_mozconfig,v 1.4 2018/10/04 19:56:38 sthen Exp $
Disable the updater and related stuff. Does nothing under OpenBSD
Index: .mozconfig
@ -17,3 +17,10 @@ Index: .mozconfig
ac_add_options --disable-strip
ac_add_options --disable-install-strip
@@ -27,3 +27,6 @@ ac_add_options --disable-webrtc
ac_add_options --disable-eme
#ac_add_options --disable-ctypes
ac_add_options --enable-proxy-bypass-protection
+
+# avoid 1.1GB libxul
+ac_add_options --disable-debug-symbols