diff mbox

gettext: disable tools tests when no threads

Message ID 1356179462-2125-1-git-send-email-gustavo@zacarias.com.ar
State Accepted
Commit 0280921a82dcddf827417557d9e17a22e96eeecc
Headers show

Commit Message

Gustavo Zacarias Dec. 22, 2012, 12:31 p.m. UTC
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>
---
 package/gettext/gettext.mk |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Peter Korsgaard Dec. 23, 2012, 7:37 a.m. UTC | #1
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Disable the gettext-tools tests build since they break when a full
 Gustavo> toolchain without threads is being used.
 Gustavo> Fixes:
 Gustavo> http://autobuild.buildroot.net/results/a187c76c359787f8e2ec6e12da2d7b1e33ed43c5/

Committed, thanks.
diff mbox

Patch

diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 77881d3..a91cb7f 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))