mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
firefox: don't --enable-debug/--enable-debug-symbols explicitly
This commit is contained in:
parent
a824c435d5
commit
4169011c91
1 changed files with 8 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
version=135.0.1
|
version=135.0.1
|
||||||
revision=1
|
revision=2
|
||||||
build_helper="rust"
|
build_helper="rust"
|
||||||
short_desc="Mozilla Firefox web browser"
|
short_desc="Mozilla Firefox web browser"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
|
@ -187,14 +187,18 @@ do_build() {
|
||||||
ac_add_options $(vopt_enable sndio)
|
ac_add_options $(vopt_enable sndio)
|
||||||
ac_add_options --enable-default-toolkit=$(vopt_if wayland 'cairo-gtk3-wayland' 'cairo-gtk3')
|
ac_add_options --enable-default-toolkit=$(vopt_if wayland 'cairo-gtk3-wayland' 'cairo-gtk3')
|
||||||
|
|
||||||
ac_add_options $(vopt_enable debug debug)
|
|
||||||
ac_add_options $(vopt_enable debug debug-symbols)
|
|
||||||
|
|
||||||
mk_add_options MOZ_OBJDIR="${wrksrc}/obj"
|
mk_add_options MOZ_OBJDIR="${wrksrc}/obj"
|
||||||
|
|
||||||
MOZ_APP_REMOTINGNAME=Firefox
|
MOZ_APP_REMOTINGNAME=Firefox
|
||||||
!
|
!
|
||||||
|
|
||||||
|
# XXX: setting --enable-debug/--enable-debug-symbols explicitly
|
||||||
|
# seems to result in a laggy/crashy firefox.
|
||||||
|
if [ -z "$build_option_debug" ]; then
|
||||||
|
echo "ac_add_options --disable-debug-symbols" >>.mozconfig
|
||||||
|
echo "ac_add_options --disable-debug" >>.mozconfig
|
||||||
|
fi
|
||||||
|
|
||||||
# work around large debug symbols on 32-bit hosts
|
# work around large debug symbols on 32-bit hosts
|
||||||
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||||
export LDFLAGS+=" -Wl,--no-keep-memory"
|
export LDFLAGS+=" -Wl,--no-keep-memory"
|
||||||
|
|
Loading…
Add table
Reference in a new issue