Skip to content

Commit

Permalink
install_ffmpeg.sh: add -O2 to gnutls build
Browse files Browse the repository at this point in the history
potential workaround for the libtasn1 stuff, suggested here:
https://lists.gnu.org/archive/html/bug-gnulib/2021-02/msg00043.html
  • Loading branch information
iameli authored and yondonfu committed Mar 12, 2021
1 parent 4715b05 commit 5a5a81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_ffmpeg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a5a81b

Please sign in to comment.