X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/a19b500ccc6cf0b52b42360df9985338e2e8711e..066da3771272d495e0b795d681030bbb39826832:/packages/libx264/build.sh diff --git a/packages/libx264/build.sh b/packages/libx264/build.sh index d8d7e492..9e35b55c 100644 --- a/packages/libx264/build.sh +++ b/packages/libx264/build.sh @@ -14,6 +14,9 @@ termux_step_pre_configure () { # Avoid text relocations on i686, see: # https://mailman.videolan.org/pipermail/x264-devel/2016-March/011589.html TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-asm" + # Avoid errors such as "relocation R_386_GOTOFF against preemptible symbol + # x264_significant_coeff_flag_offset cannot be used when making a shared object": + LDFLAGS+=" -fuse-ld=bfd" elif [ $TERMUX_ARCH = "x86_64" ]; then AS=yasm fi