Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/mozconfig-pentium4.patch
blob: 03965a7aa2925893bf8da301d39028159b341ecf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -rauN a/mozconfig b/mozconfig
--- a/mozconfig	2021-03-27 17:15:18.957711830 +0100
+++ b/mozconfig	2021-03-27 17:17:07.357711058 +0100
@@ -6,7 +6,7 @@
 ac_add_options --enable-hardening
 ac_add_options --enable-optimize
 ac_add_options --enable-rust-simd
-ac_add_options --enable-linker=lld
+ac_add_options --enable-linker=bfd
 ac_add_options --disable-elf-hack
 
 # Branding
@@ -35,3 +35,11 @@
 ac_add_options --enable-crashreporter
 ac_add_options --disable-updater
 ac_add_options --disable-tests
+
+# pentium4 specific options
+ac_add_options --disable-lto
+export CC=gcc
+export CXX=g++
+export AR=gcc-ar
+export NM=gcc-nm
+export RANLIB=gcc-ranlib