summaryrefslogtreecommitdiff
path: root/extra/firefox/mozconfig-pentium4.patch
blob: 0201a74f0da6fc3527e04e3b5854d0722f9c1593 (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
25
26
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
+ac_add_options --disable-install-strip
+export CC=gcc-10
+export CXX=g++-10
+export AR=gcc-ar-10
+export NM=gcc-nm-10
+export RANLIB=gcc-ranlib-10
+export STRIP=strip