Skip to content

Instantly share code, notes, and snippets.

@AndreiSva
Created July 31, 2021 23:52
Show Gist options
  • Save AndreiSva/71fdbc389a90d2cd37ed5145883f33c4 to your computer and use it in GitHub Desktop.
Save AndreiSva/71fdbc389a90d2cd37ed5145883f33c4 to your computer and use it in GitHub Desktop.
the default mozconfig file for compiling palemoon from source
# Clear this if not a 64bit build
_BUILD_64=1
# Set GTK Version to 2 or 3
_GTK_VERSION=2
# Standard build options for Pale Moon
ac_add_options --enable-application=palemoon
ac_add_options --enable-optimize="-O2 -w"
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-eme
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
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
export MOZILLA_OFFICIAL=1
# Processor architecture specific build options
if [ -n "$_BUILD_64" ]; then
ac_add_options --x-libraries=/usr/lib64
else
ac_add_options --x-libraries=/usr/lib
fi
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment