1 # Based on https://developer.palemoon.org/build/linux
3 # Set object directory (%SRCDIR% will substituted in build script)
4 mk_add_options MOZ_OBJDIR="%SRCDIR%/objdir"
6 # Clear this if not a 64bit build
9 # Set GTK Version to 2 or 3
13 ac_add_options --enable-application=palemoon
14 ac_add_options --enable-optimize="%CFLAGS%"
15 ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
16 ac_add_options --enable-strip
17 ac_add_options --enable-devtools
18 ac_add_options --with-pthreads
19 mk_add_options AUTOCLOBBER=1
22 ac_add_options --enable-alsa
25 ac_add_options --disable-eme
26 ac_add_options --disable-webrtc
27 ac_add_options --disable-gamepad
28 ac_add_options --disable-tests
29 ac_add_options --disable-debug
30 ac_add_options --disable-necko-wifi
31 ac_add_options --disable-updater
32 ac_add_options --disable-dbus
33 ac_add_options --disable-gconf
34 ac_add_options --disable-gio
35 ac_add_options --disable-debug-symbols
36 ac_add_options --disable-pulseaudio
37 ac_add_options --disable-jemalloc
38 ac_add_options --disable-crashreporter
39 ac_add_options --disable-parental-controls
40 ac_add_options --disable-maintenance-service
42 # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
43 ac_add_options --disable-official-branding
44 export MOZILLA_OFFICIAL=1
46 # Processor architecure specific build options
47 if [ -n "$_BUILD_64" ]; then
48 ac_add_options --x-libraries=/usr/lib64
50 ac_add_options --x-libraries=/usr/lib
53 export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION