summaryrefslogtreecommitdiffstats
path: root/browser/config/mozconfigs/win64-aarch64/common-win64
blob: 679146cd1276d2ae1423f9dec17d06e259bff1d6 (plain)
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
# This file is used by all AArch64 Win64 builds

ac_add_options --target=aarch64-windows-mingw32

. $topsrcdir/build/win64-aarch64/mozconfig.vs-latest

if test `uname -s` = Linux; then

# Configure expects executables for check_prog, so set the relevant files
# as executable on the first evaluation of the mozconfig where they exist.
if [ -d "${VSPATH}" -a ! -x "${VSPATH}/VC/bin/Hostx64/arm64/cl.exe" ]; then
    find "${VSPATH}" -type f -name \*.exe -exec chmod +x {} \;
fi
export MAKENSISU="${MOZ_FETCHES_DIR}/nsis-3.01/makensis.exe"
if [ -d "${MAKENSISU%/*}" -a ! -x "${MAKENSISU}" ]; then
    chmod +x "${MAKENSISU}"
fi
export UPX="${MOZ_FETCHES_DIR}/upx-3.95-win64/upx.exe"
if [ -f "${UPX}" ]; then
    chmod +x "${UPX}"
fi
mk_add_options "export PATH=${VSPATH}/VC/bin/Hostx64/arm64:${MOZ_FETCHES_DIR}/nsis-3.01:${PATH}"
mk_add_options "export WINEPATH=${VSPATH}/VC/bin/Hostx64/x64"

unset VC_PATH

fi

pdbstr="${MOZ_FETCHES_DIR}/pdbstr/pdbstr.exe"
if [ -f "${pdbstr}" ]; then
    chmod +x "${pdbstr}"
fi