attempts to add -fPIC to libjxl compile command.

This commit is contained in:
Hyatt 2024-09-15 10:38:03 -05:00
parent ed8af906bc
commit 67710efdf9
Signed by: nhyatt
GPG Key ID: C50D0BBB5BC40BEA

View File

@ -50,6 +50,7 @@ podTemplate(
sh """
cd ${workspace}/ffmpeg
sed -r -i -e 's~^LDFLAGS="-L\\\$WORKSPACE\\/lib"\$~LDFLAGS="-L\\\$WORKSPACE\\/lib -L\\\$WORKSPACE\\/lib64"~g' ./build-ffmpeg
sed -r -i -e 's~-DJPEGXL_ENABLE_JNI=OFF~-DJPEGXL_ENABLE_JNI=OFF CMAKE_CXX_FLAGS:STRING=-fPIC~g' ./build-ffmpeg
dnf install curl gcc-g++ libtool make xz python perl perl-devel openssl-devel diffutils bzip2 glibc-static libstdc++-static vid.stab-devel -y
SKIPINSTALL=yes ./build-ffmpeg --full-static --enable-gpl-and-non-free --build
"""