summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-12-22 02:31:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-23 08:37:44 +0100
commit0280921a82dcddf827417557d9e17a22e96eeecc (patch)
tree2bdf1debb8e9e6b90e3c2f2ea1fe06432d86d943 /package
parent1b603449fd0dcbaf22188e1f2e149da115ff2ea1 (diff)
gettext: disable tools tests when no threads
Disable the gettext-tools tests build since they break when a full toolchain without threads is being used. Fixes: http://autobuild.buildroot.net/results/a187c76c359787f8e2ec6e12da2d7b1e33ed43c5/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/gettext/gettext.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 77881d3e3..a91cb7f1f 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -44,6 +44,12 @@ define GETTEXT_DISABLE_TOOLS
endef
endif # GETTEXT_TOOLS = n
+# The tools tests build fails with full toolchain without threads
+define GETTEXT_DISABLE_TESTS
+ $(SED) 's/m4 tests/m4/' $(@D)/gettext-tools/Makefile.in
+endef
+
GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TOOLS
+GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TESTS
$(eval $(autotools-package))