summaryrefslogtreecommitdiff
path: root/env/build_cmds.txt
diff options
context:
space:
mode:
Diffstat (limited to 'env/build_cmds.txt')
-rw-r--r--env/build_cmds.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/env/build_cmds.txt b/env/build_cmds.txt
index db1ffa7..06dab23 100644
--- a/env/build_cmds.txt
+++ b/env/build_cmds.txt
@@ -10,23 +10,23 @@ meson setup build-android -Dserver=disabled -Drenderer-api=gl -Dwindow=glfm \
# MingW DX11 (Preferred)
meson setup build-mingw64-dx11 -Drenderer-api=dx11 -Drenderer=libplacebo -Dwindow=win32 \
-Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
- -Dsources=file -Dcodecs=ffmpeg,stb_image -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=d3d11va -Dsubtitles=enabled \
+ -Dsources=file -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=d3d11va -Dsubtitles=enabled \
-Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release --optimization=s -Ddebug=false -Db_lto=false
+ --default-library=static --strip --buildtype=release -Ddebug=false --optimization=s -Db_lto=true
# MingW Vulkan
meson setup build-mingw64-vulkan -Drenderer-api=vulkan -Drenderer=libplacebo -Dwindow=win32 \
-Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
-Dsources=file -Dcodecs=ffmpeg,stb_image -Dcodec-ffmpeg-version=8 -Dcodec-hwaccels=vulkan -Dsubtitles=enabled \
-Dtests=disabled -Dwin32-compat=false --cross-file ./cross/x86_64-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release --optimization=2 -Ddebug=false
+ --default-library=static --strip --buildtype=release -Ddebug=false --optimization=2
# Windows XP 32bit Support.
meson setup build-mingw32-min -Drenderer-api=gl -Drenderer=momo -Dwindow=win32 \
-Dsink-only=false -Dserver=enabled -Dportal=disabled -Dclient=disabled \
-Dsources=file -Dcodecs=ffmpeg -Dcodec-ffmpeg-version=3 -Dsubtitles=enabled \
-Dtests=disabled -Dwin32-compat=true --cross-file ./cross/i686-w64-mingw32.txt \
- --default-library=static --strip --buildtype=release --optimization=s -Ddebug=false
+ --default-library=static --strip --buildtype=release -Ddebug=false --optimization=s -Db_lto=true
# ASan
meson setup build-asan --buildtype=debug -Db_sanitize=address -Db_lundef=false \