54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
|
|
ac_add_options --target=aarch64-linux-gnu
|
|
ac_add_options --enable-bootstrap
|
|
|
|
# taken from manjaro build:
|
|
ac_add_options --enable-optimize="-g0 -O2"
|
|
|
|
export CC='clang-13'
|
|
export CXX='clang++-13'
|
|
export AR=llvm-ar-13
|
|
export NM=llvm-nm-13
|
|
export RANLIB=llvm-ranlib-13
|
|
|
|
# ---
|
|
|
|
# We should fix this one..
|
|
#ac_add_options --without-wasm-sandboxed-libraries
|
|
|
|
|
|
#
|
|
# Librewolf specific settings
|
|
#
|
|
|
|
ac_add_options --allow-addon-sideload
|
|
ac_add_options --disable-crashreporter
|
|
ac_add_options --disable-debug
|
|
ac_add_options --disable-default-browser-agent
|
|
ac_add_options --disable-tests
|
|
# updater disabled in Settings repo (app.update.auto).
|
|
# this setting toggles the urlbar 'star' bug
|
|
# ac_add_options --disable-updater
|
|
ac_add_options --enable-hardening
|
|
ac_add_options --enable-optimize
|
|
ac_add_options --enable-release
|
|
ac_add_options --enable-rust-simd
|
|
|
|
ac_add_options --with-app-name=librewolf
|
|
ac_add_options --with-branding=browser/branding/librewolf
|
|
|
|
ac_add_options --with-unsigned-addon-scopes=app,system
|
|
|
|
# see issue # https://gitlab.com/librewolf-community/browser/arch/-/issues/49
|
|
export MOZ_REQUIRE_SIGNING=
|
|
|
|
mk_add_options MOZ_CRASHREPORTER=0
|
|
mk_add_options MOZ_DATA_REPORTING=0
|
|
mk_add_options MOZ_NORMANTY=0
|
|
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
|
|
mk_add_options MOZ_TELEMETRY_REPORTING=0
|
|
|
|
ac_add_options --enable-strip
|
|
|
|
# Internationalization
|
|
ac_add_options --with-l10n-base=$(pwd)/browser/locales/l10n
|