From ac2254b15380517f705eaca8e5879462d4f0742e Mon Sep 17 00:00:00 2001 From: Eli Mallon Date: Fri, 12 Mar 2021 10:43:17 -0800 Subject: [PATCH] install_ffmpeg.sh: add -O2 to gnutls build potential workaround for the libtasn1 stuff, suggested here: https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00043.html --- install_ffmpeg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_ffmpeg.sh b/install_ffmpeg.sh index 4b34aecc3a..c1fde2a1ad 100755 --- a/install_ffmpeg.sh +++ b/install_ffmpeg.sh @@ -93,7 +93,7 @@ if [ ! -e "$HOME/gnutls-3.7.0" ]; then curl -LO https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.0.tar.xz tar xf gnutls-3.7.0.tar.xz cd gnutls-3.7.0 - LDFLAGS="-L${HOME}/compiled/lib" CFLAGS="-I${HOME}/compiled/include" LIBS="-lhogweed -lnettle -lgmp $EXTRA_GNUTLS_LIBS" ./configure ${BUILD_OS:-} --prefix="$HOME/compiled" --enable-static --disable-shared --with-pic --with-included-libtasn1 --with-included-unistring --without-p11-kit --without-idn --without-zlib --disable-doc --disable-cxx --disable-tools --disable-hardware-acceleration --disable-guile --disable-libdane --disable-tests --disable-rpath --disable-nls + LDFLAGS="-L${HOME}/compiled/lib" CFLAGS="-I${HOME}/compiled/include -O2" LIBS="-lhogweed -lnettle -lgmp $EXTRA_GNUTLS_LIBS" ./configure ${BUILD_OS:-} --prefix="$HOME/compiled" --enable-static --disable-shared --with-pic --with-included-libtasn1 --with-included-unistring --without-p11-kit --without-idn --without-zlib --disable-doc --disable-cxx --disable-tools --disable-hardware-acceleration --disable-guile --disable-libdane --disable-tests --disable-rpath --disable-nls make make install # gnutls doesn't properly set up its pkg-config or something? without this line ffmpeg and go