summarylogtreecommitdiffstats
path: root/mozconfig.in
blob: 85810e5f02556d2a17f0237da988de4b7024523c (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
## General Build Setup
#
# Since official branding is enabled, we stick pretty close to the suggested
# mozconfig file at:
# http://developer.palemoon.org/Developer_Guide:Build_Instructions/Pale_Moon/Linux#head:Mozconfig_Files

mk_add_options AUTOCLOBBER=1
mk_add_options MOZ_OBJDIR=%SRCDIR%/pmbuild

ac_add_options --enable-application=palemoon

# number of cores your processor has
mk_add_options MOZ_MAKE_FLAGS="-j8"
# let's do some ricing
ac_add_options --enable-optimize="-O2 -msse2 -mfpmath=sse -march=native -mtune=native"


ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1


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


ac_add_options --disable-tests
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

ac_add_options --disable-debug
ac_add_options --disable-sandbox

ac_add_options --disable-crashreporter
ac_add_options --disable-maintenance-service
ac_add_options --disable-elf-hack

ac_add_options --enable-release
ac_add_options --enable-devtools


ac_add_options --x-libraries=/usr/lib


# Fix GCC Version & Flags
export CC=gcc-5
export CXX=g++-5
export CXXFLAGS=${CXXFLAGS//-fno-plt/}
export CFLAGS=${CFLAGS//-fno-plt/}