mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
added experimental mozconfig
This commit is contained in:
parent
103c401110
commit
62da8dd2d1
1 changed files with 33 additions and 0 deletions
33
assets/mozconfig.dep+aslr
Normal file
33
assets/mozconfig.dep+aslr
Normal file
|
@ -0,0 +1,33 @@
|
|||
ac_add_options --enable-application=browser
|
||||
|
||||
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
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --enable-hardening
|
||||
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
|
||||
|
||||
export MOZ_REQUIRE_SIGNING=
|
||||
|
||||
mk_add_options MOZ_CRASHREPORTER=0
|
||||
mk_add_options MOZ_DATA_REPORTING=0
|
||||
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
|
||||
mk_add_options MOZ_TELEMETRY_REPORTING=0
|
||||
|
||||
# wasi: we ask maintainers to all use this as wasi sysroot..
|
||||
# There is a script 'scripts/setup-wasi-linux.sh' that attempts to download the wasi sdk and place it into the location pointed to below.
|
||||
ac_add_options --with-wasi-sysroot=$HOME/.mozbuild/wrlb/wasi-sysroot
|
||||
|
||||
# Add your own stuff, libraries, architecture, etc..
|
||||
# ex: `cat mozconfig.orig mozconfig.my > mozconfig`
|
||||
|
||||
# source: https://gist.github.com/jrelo/f5c976fdc602688a0fd40288fde6d886
|
||||
ac_add_options --enable-optimize"-fPIE -fstack-protector-all -D_FORTIFY_SOURCE=2 -O1 -arch x86_64 -Wl,-z,relro,-z,now -Wl,dynamicbase -Wl,nxcompat"
|
Loading…
Reference in a new issue