mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
New mozconfig for win64
This commit is contained in:
parent
81e97bbe4d
commit
9d3a637b07
1 changed files with 6 additions and 15 deletions
|
|
@ -1,18 +1,12 @@
|
|||
## UXP mozconfig thing based off roytam1's config and r3dfox config
|
||||
|
||||
##Uncomment PGO for release build
|
||||
|
||||
# 16 jobs for 16 cores
|
||||
mk_add_options MOZ_MAKE_FLAGS="-j16"
|
||||
|
||||
# x64 build
|
||||
ac_add_options --host=x86_64-pc-mingw32
|
||||
ac_add_options --target=x86_64-pc-mingw32
|
||||
WIN32_REDIST_DIR=$VCINSTALLDIR/Redist/MSVC/14.16.27012/x64
|
||||
WIN_UCRT_REDIST_DIR=$WINDOWSSDKDIR/Redist/10.0.19041.0/ucrt/DLLs/r64
|
||||
|
||||
# Build only Hydra
|
||||
ac_add_options --enable-application=basilisk
|
||||
# Build only Dactyloidae
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --disable-artifact-builds
|
||||
|
||||
# Updater stuffs
|
||||
|
|
@ -30,7 +24,6 @@ ac_add_options --enable-devtools
|
|||
#ac_add_options --enable-install-strip
|
||||
ac_add_options --enable-jemalloc
|
||||
ac_add_options --enable-js-lto
|
||||
ac_add_options --enable-optimize="-O2 -Ob2ity -GS- -GFAT -Qpar -Qfast_transcendentals -openmp"
|
||||
ac_add_options --enable-phoenix-extensions
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-shared-js
|
||||
|
|
@ -39,13 +32,12 @@ MOZ_OPTIMIZE=1
|
|||
export MOZ_OPTIMIZE=1
|
||||
mk_add_options MOZ_OPTIMIZE=1
|
||||
export MOZILLA_OFFICIAL=1
|
||||
export STRIP_FLAGS="--strip-debug --strip-unneeded"
|
||||
|
||||
# Media settings
|
||||
ac_add_options --enable-av1
|
||||
ac_add_options --enable-jxl
|
||||
ac_add_options --enable-raw
|
||||
ac_add_options --enable-webrtc
|
||||
ac_add_options --disable-webrtc
|
||||
|
||||
# Client settings
|
||||
ac_add_options --disable-crashreporter
|
||||
|
|
@ -66,13 +58,12 @@ export MOZ_PACKAGE_JSSHELL=1
|
|||
export OPT_LEVEL="3"
|
||||
ac_add_options OPT_LEVEL="3"
|
||||
|
||||
# Enable LTO
|
||||
export MOZ_LTO=1
|
||||
ac_add_options MOZ_LTO=1
|
||||
|
||||
# Compiler and Linker flags
|
||||
export CFLAGS="-O2"
|
||||
export CPPFLAGS="-O2"
|
||||
export CXXFLAGS="-O2"
|
||||
ac_add_options --enable-optimize="-O2 -Ob2ity -GS- -Qpar -Qfast_transcendentals -openmp -Oi -Gy -Gw -GF -GT -fp:precise -Zc:inline -Zc:throwingNew -Zc:__cplusplus -arch:SSE2"
|
||||
mk_add_options "LDFLAGS=-OPT:REF,ICF,WIN64,LBR -OPT:ICF=3 -INCREMENTAL:NO -LTCG:NO -DYNAMICBASE -NXCOMPAT -MACHINE:X64 -SUBSYSTEM:WINDOWS,5.2 -Brepro -FUNCTIONPADMIN -ALIGN:4096 -RELEASE"
|
||||
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
|
||||
export STRIP_FLAGS="--strip-all --remove-section=.comment --remove-section=.note --remove-section=.eh_frame"
|
||||
export VERBOSE=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue