Merge pull request #223921 from NickCao/firefox-riscv

firefox-unwrapped: disable lto, crashreporter and webrtc support on R…
This commit is contained in:
Martin Weinelt 2023-03-31 12:28:13 +02:00 committed by GitHub
commit 6c92b953b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,7 @@
, gssSupport ? true, libkrb5 , gssSupport ? true, libkrb5
, jackSupport ? stdenv.isLinux, libjack2 , jackSupport ? stdenv.isLinux, libjack2
, jemallocSupport ? true, jemalloc , jemallocSupport ? true, jemalloc
, ltoSupport ? (stdenv.isLinux && stdenv.is64bit), overrideCC, buildPackages , ltoSupport ? (stdenv.isLinux && stdenv.is64bit && !stdenv.hostPlatform.isRiscV), overrideCC, buildPackages
, pgoSupport ? (stdenv.isLinux && stdenv.hostPlatform == stdenv.buildPlatform), xvfb-run , pgoSupport ? (stdenv.isLinux && stdenv.hostPlatform == stdenv.buildPlatform), xvfb-run
, pipewireSupport ? waylandSupport && webrtcSupport , pipewireSupport ? waylandSupport && webrtcSupport
, pulseaudioSupport ? stdenv.isLinux, libpulseaudio , pulseaudioSupport ? stdenv.isLinux, libpulseaudio
@ -103,11 +103,11 @@
# WARNING: NEVER set any of the options below to `true` by default. # WARNING: NEVER set any of the options below to `true` by default.
# Set to `!privacySupport` or `false`. # Set to `!privacySupport` or `false`.
, crashreporterSupport ? !privacySupport, curl , crashreporterSupport ? !privacySupport && !stdenv.hostPlatform.isRiscV, curl
, geolocationSupport ? !privacySupport , geolocationSupport ? !privacySupport
, googleAPISupport ? geolocationSupport , googleAPISupport ? geolocationSupport
, mlsAPISupport ? geolocationSupport , mlsAPISupport ? geolocationSupport
, webrtcSupport ? !privacySupport , webrtcSupport ? !privacySupport && !stdenv.hostPlatform.isRiscV
# digital rights managemewnt # digital rights managemewnt