forked from BrowserWorks/Waterfox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mozconfig-x86_64-pc-windows-msvc
66 lines (58 loc) · 2.53 KB
/
.mozconfig-x86_64-pc-windows-msvc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
CROSS_BUILD=1
EXTRA_PATH="/mnt/MICROS~1/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64:"
TOOLTOOL_DIR=$HOME/tooltool12
FXC=${TOOLTOOL_DIR}/fxc2/bin/fxc2.exe
X=$(($(getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN)))
export AR="${TOOLTOOL_DIR}/clang/bin/llvm-lib"
export CC="${TOOLTOOL_DIR}/clang/bin/clang-cl"
export CBINDGEN="${TOOLTOOL_DIR}/cbindgen/cbindgen"
export CXX="${TOOLTOOL_DIR}/clang/bin/clang-cl"
export DIA_SDK_PATH="/mnt/MICROS~1/2019/Community/DIASDK~1/"
export DISPLAY=:2
export HOST_CC="${TOOLTOOL_DIR}/clang/bin/clang"
export HOST_CXX="${TOOLTOOL_DIR}/clang/bin/clang++"
export LINKER="${TOOLTOOL_DIR}/clang/bin/lld-link"
export LLVM_DLLTOOL="${TOOLTOOL_DIR}/clang/bin/llvm-dlltool"
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_LTO=cross
export WINDOWSSDKDIR="/mnt/WINDOW~1/10/"
export WIN32_REDIST_DIR="/mnt/MICROS~1/2019/Community/VC/Redist/MSVC/14.29.30133/x64/Microsoft.VC142.CRT/"
export WIN_UCRT_REDIST_DIR="${WINDOWSSDKDIR}/Redist/ucrt/DLLs/x64"
export MOZ_INCLUDE_SOURCE_INFO=1
export WINEDEBUG=-all
if test "$WFX_RELEASE"; then
ac_add_options --enable-lto
ac_add_options --enable-release
ac_add_options --with-branding=browser/branding/waterfox
else
ac_add_options --with-branding=browser/branding/dokimi
fi
mk_add_options "export LD_PRELOAD=${TOOLTOOL_DIR}/liblowercase/liblowercase.so"
mk_add_options "export LOWERCASE_DIRS=/mnt"
mk_add_options "export PATH=${TOOLTOOL_DIR}/wine/bin:{TOOLTOOL_DIR}/fxc2/bin:/mnt/LLVM/bin:${TOOLTOOL_DIR}/clang/bin:$EXTRA_PATH$PATH"
mk_add_options MOZ_MAKE_FLAGS=-j${X%.*}
ac_add_options --disable-bits-download
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-default-browser-agent
ac_add_options --disable-dmd
ac_add_options --disable-geckodriver
ac_add_options --disable-maintenance-service
ac_add_options --disable-parental-controls
ac_add_options --disable-profiling
ac_add_options --disable-tests
ac_add_options --disable-verify-mar
ac_add_options --enable-ccache=${TOOLTOOL_DIR}/sccache/sccache
if test "$WFX_RELEASE"; then
ac_add_options --enable-lto
fi
ac_add_options --enable-optimize="-O2 -Qvec -w -clang:-march=x86-64-v2 -clang:-mtune=haswell"
ac_add_options --enable-proxy-bypass-protection
ac_add_options --enable-rust-simd
ac_add_options --enable-updater
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --with-app-basename=Waterfox
ac_add_options --with-app-name=waterfox
ac_add_options --with-distribution-id=net.waterfox
ac_add_options --with-l10n-base=$PWD/browser/locales/l10n
MOZ_REQUIRE_SIGNING=