diff options
author | Wessel Dankers <wsl@fruit.je> | 2021-11-15 19:36:57 +0100 |
---|---|---|
committer | avih <avih@users.noreply.github.com> | 2021-11-15 21:37:42 +0200 |
commit | ea05a4e2b4d17729ce614a5f5a1d71280c7dce22 (patch) | |
tree | a5bd1d8e0b750d8407c6f323e49e6f22fd4dec98 | |
parent | 836df3589b47ab689411c3949cb699c8f2038914 (diff) | |
download | mpv-build-ea05a4e2b4d17729ce614a5f5a1d71280c7dce22.tar.bz2 mpv-build-ea05a4e2b4d17729ce614a5f5a1d71280c7dce22.tar.xz |
debian: disable LTO
Newer versions of Ubuntu (and future versions of Debian) enable LTO by
default for package builds. This is apparently incompatible with how we
compile mpv using static builds of ffmpeg and libass.
Fixes https://github.com/mpv-player/mpv-build/issues/158
Further reading:
- https://wiki.ubuntu.com/ToolChain/LTO
- https://wiki.debian.org/ToolChain/LTO
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 70adb9b..0d642a6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #! /usr/bin/make -f -export DEB_BUILD_MAINT_OPTIONS:=hardening=+all +export DEB_BUILD_MAINT_OPTIONS := hardening=+all optimize=-lto # To enable parallel building: # You can either set DEB_BUILD_OPTIONS=paralell=<num-procs> in your build environment |