summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/x264/x264.mk5
1 files changed, 5 insertions, 0 deletions
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 \
OpenPOWER on IntegriCloud