Try this.
This commit is contained in:
parent
6659f5279b
commit
f9e50aced9
|
@ -4,7 +4,7 @@ set -ex
|
||||||
CFLAGS="-fPIC -Os"
|
CFLAGS="-fPIC -Os"
|
||||||
|
|
||||||
export CCACHE_SLOPPINESS=time_macros
|
export CCACHE_SLOPPINESS=time_macros
|
||||||
|
export CCACHE=`which ccache`
|
||||||
export CFLAGS="-D__DATE__= -D__TIME__= -D__TIMESTAMP__= $CFLAGS"
|
export CFLAGS="-D__DATE__= -D__TIME__= -D__TIMESTAMP__= $CFLAGS"
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ git clone --depth 1 https://github.com/mpv-player/mpv.git mpv || true
|
||||||
git clone --depth 1 https://github.com/libass/libass.git libass || true
|
git clone --depth 1 https://github.com/libass/libass.git libass || true
|
||||||
|
|
||||||
#echo "--enable-libaom" > ffmpeg_options
|
#echo "--enable-libaom" > ffmpeg_options
|
||||||
|
echo "--extra-cflags=\'$CFLAGS\'" > ffmpeg_options
|
||||||
echo "--enable-libmpv-static --prefix=/usr" > mpv_options
|
echo "--enable-libmpv-static --prefix=/usr" > mpv_options
|
||||||
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
echo "--disable-caca --disable-wayland --disable-gl-wayland --disable-libarchive --disable-zlib --disable-tv --disable-debug-build --disable-manpage-build --disable-vapoursynth --disable-libsmbclient" >> mpv_options
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue