summaryrefslogtreecommitdiff
path: root/newmoon/newmoon-mozconfig
blob: 8cb2cdb7c31a48993670077494d40aab0d75f0e3 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
mk_add_options AUTOCLOBBER=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild
ac_add_options --enable-application=palemoon

ac_add_options --enable-optimize="-O2 -Wl,--no-keep-memory -Wl,--reduce-memory-overhead"

ac_add_options --enable-official-branding
ac_add_options --enable-official-vendor

# Safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in
# defines.sh during the beta cycle
export BUILDING_RELEASE=1
export MC_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MC_PALEMOON=1

# Disable add-ons signing
# Disable checking that add-ons are signed by the trusted root
MOZ_ADDON_SIGNING=
# Disable enforcing that add-ons are signed by the trusted root
MOZ_REQUIRE_SIGNING=

ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-jemalloc
ac_add_options --enable-av1
ac_add_options --enable-strip
ac_add_options --with-pthreads

ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-crashreporter
ac_add_options --disable-eme
ac_add_options --disable-parental-controls
ac_add_options --disable-accessibility
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater

# Disable telemetry reporting
export MOZ_TELEMETRY_REPORTING=

ac_add_options --x-libraries=/usr/lib

# experimental for rpm but from deb
ac_add_options --enable-devtools
ac_add_options --enable-alsa
ac_add_options --disable-sync
ac_add_options --disable-personas
export MOZ_PKG_SPECIAL=gtk2

# START EXPERIMENT1 experimental for linker and LTO stuff
export CFLAGS="${CFLAGS} -flto=$(nproc)"
export CXXFLAGS="${CXXFLAGS} -flto=$(nproc)"
export LDFLAGS="${LDFLAGS} -Wl,-z,norelro"
ac_add_options --disable-elf-hack
ac_add_options --disable-gold
# END EXPERIMENT1
bgstack15