-
Notifications
You must be signed in to change notification settings - Fork 37
/
mozcfg-ppc32linux
57 lines (46 loc) · 2.1 KB
/
mozcfg-ppc32linux
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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#G4 example, use 750 for G4 and disable AltiVec
export CC="gcc -flax-vector-conversions -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export CXX="g++ -flax-vector-conversions -fpermissive -mcpu=7450 -mtune=7450 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export LDFLAGS="-latomic"
mk_add_options MOZ_MAKE_FLAGS="-s -j1"
ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --disable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --disable-dbus
ac_add_options --disable-gio
#ac_add_options --disable-gconf
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-altivec
ac_add_options --enable-optimize
# only for gcc >= 6 and only if binaries are unstable, should be inserted automatically by configure if gcc >= 6
#ac_add_options --enable-optimize="-g0 -O2 -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2"
# gtk3 now supported and default, but gtk2 just looks better
ac_add_options --enable-default-toolkit=cairo-gtk2
# Issue 162
ac_add_options --disable-precompiled-startupcache
# For convenience, if needed
#ac_add_options --with-system-nspr
#ac_add_options --with-system-nss
#ac_add_options --with-system-icu
#ac_add_options --with-system-zlib
#ac_add_options --with-system-bz2
#ac_add_options --enable-system-hunspell
#ac_add_options --enable-system-sqlite
#ac_add_options --enable-system-ffi
#ac_add_options --enable-system-pixman