tce-load -i compiletc python3.6 perl5 luajit-dev ffmpeg4-dev libdvdnav-dev cd mpv-0.34.0 ./bootstrap.py [#!/usr/bin/env python3] edit waftools/detections/compiler.py remove -O2 -g CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./waf configure --prefix=/usr/local --enable-libmpv-shared --enable-dvdnav --enable-sdl2 ./waf build -v [3m 58.05s] sudo ./waf install --destdir=/tmp/destmpv