-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmozconfig.in
More file actions
39 lines (34 loc) · 1.34 KB
/
mozconfig.in
File metadata and controls
39 lines (34 loc) · 1.34 KB
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
# Set GTK Version to 2 or 3
# gtk 3 is not recommended because it uses more ram
_GTK_VERSION=3
# Build options for Phantom Satellite
ac_add_options --enable-application=phantomsatellite
mk_add_options MOZ_OBJDIR=pmbuild
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
ac_add_options --enable-jemalloc
ac_add_options --enable-strip
ac_add_options --enable-devtools
ac_add_options --enable-av1
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --with-pthreads
ac_add_options --x-libraries=/usr/lib
ac_add_options --disable-crashreporter
ac_add_options --disable-js-shell
ac_add_options --disable-precompiled-startupcache
ac_add_options --disable-elf-hack
ac_add_options --disable-gold
# Medium optimization (higher seems to make no difference or breaks stuff), suppress warnings, and remove unused function sections.
ac_add_options --enable-optimize="-O2 -w -ffunction-sections"
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
# Use system libs where available, potentially reduces ram usage
ac_add_options --with-system-zlib
ac_add_options --with-system-bz2
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo