1 ### Build definitions for Win32 cross build.
2 ### BY GNU/Linux (and maybe other *nix like OSs) host to MinGW32 target.
3 ### Please copy this to buildvars_mingw_cross_win32.dat and edit.
7 #BUILD_TOOLCHAIN="LLVM"
8 #BUILD_TOOLCHAIN="CUSTOM"
10 #CUSTOM_BASE_PATH="/source code path/source/build-cmake/"
11 ## If you choose "CUSTOM" as BUILD_TOOLCHAIN, edit and uncomment below.
12 #CUSTOM_TOOLCHAIN_PATH=""
19 # "IA32" "AMD64" "ARM32" "ARM64"
22 # "SSE1" "SSE2" "SSE3" "AVX" or "NO"
23 LOCAL_ARCH_TYPE="SSE2"
28 USE_WHOLE_PROGRAM_OPTIMIZE="Yes"
29 # Threads when using LTO.
35 USE_RADICAL_OPTIMIZE="No"
40 USE_COMMON_DEVICE_LIB="Yes"
48 # "Default" or "String" or "All" or "No" or "Yes"
49 USE_STACK_PROTECTION="Default"
51 ADDITIONAL_MAKEFLAGS_LINK_EXE=""
52 ADDITIONAL_MAKEFLAGS_LINK_DLL=""
53 ADDITIONAL_MAKEFLAGS_LINK_LIB=""
55 FFMPEG_DIR="/usr/local/i586-mingw-msvc/ffmpeg-3.4"
56 MAKEFLAGS_GENERAL="-j3"
58 # Below sets make with affinity mask.Using excepts CPU CORE #1 and #7.
59 #AFFINITY_MAKE="taskset 0xfbe make"
61 # If using custom toolchain, modify and uncomment below.
62 #TOOLCHAIN_PREFIX="/path/to/custom/root/"