]> git.pld-linux.org Git - packages/firefox52-esr.git/commitdiff
copy bcond from firefox for enabling gold linker
authorJan Palus <atler@pld-linux.org>
Wed, 11 Jul 2018 16:02:23 +0000 (18:02 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 11 Jul 2018 16:02:23 +0000 (18:02 +0200)
firefox52-esr.spec

index c57a4c15a4b5b8566c8f3989d32366ca68d8e3fa..b205f60d8467335db7cc288a8f11999b1c1c73bd 100644 (file)
@@ -7,6 +7,7 @@
 %bcond_without kerberos        # disable krb5 support
 %bcond_without official        # official Firefox branding
 %bcond_with    pgo             # PGO-enabled build (requires working $DISPLAY == :100)
+%bcond_with    gold            # use gold linker
 # - disabled shared_js - https://bugzilla.mozilla.org/show_bug.cgi?id=1039964
 %bcond_with    shared_js       # shared libmozjs library [broken]
 %bcond_with    system_icu      # build with system ICU (disabled due to crashes with system icu 58.2)
@@ -54,6 +55,7 @@ BuildRequires:        OpenGL-devel
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf2_13
 BuildRequires: automake
+%{?with_gold:BuildRequires:    binutils >= 3:2.20.51.0.7}
 BuildRequires: bzip2-devel
 BuildRequires: cairo-devel >= 1.10.2-5
 %{?with_clang:BuildRequires:   clang}
@@ -254,6 +256,7 @@ ac_add_options --enable-alsa
 ac_add_options --enable-chrome-format=omni
 ac_add_options --enable-default-toolkit=%{?with_gtk3:cairo-gtk3}%{!?with_gtk3:cairo-gtk2}
 ac_add_options --enable-extensions=default
+%{?with_gold:ac_add_options --enable-gold}
 ac_add_options --enable-gio
 ac_add_options --enable-readline
 ac_add_options --enable-safe-browsing
This page took 0.068203 seconds and 4 git commands to generate.