Skip to content

Commit

Permalink
libx264: Fix i686 build with NDK r16
Browse files Browse the repository at this point in the history
  • Loading branch information
fornwall committed Nov 15, 2017
1 parent ef6ddba commit 2b12322
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/libx264/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b12322

Please sign in to comment.