diff --git a/package/x264/x264.mk b/package/x264/x264.mk index 80437c408c..2c8040b85e 100644 --- a/package/x264/x264.mk +++ b/package/x264/x264.mk @@ -36,6 +36,11 @@ ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) X264_CONF_OPTS += --disable-thread endif +# Even though the configure script is not generated by autoconf, x264 +# uses config.sub/config.guess, so we want up-to-date versions of +# them. +X264_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK + # the configure script is not generated by autoconf define X264_CONFIGURE_CMDS (cd $(@D); $(TARGET_CONFIGURE_OPTS) $(X264_CONF_ENV) ./configure \