Commit 0280921a authored by Gustavo Zacarias's avatar Gustavo Zacarias Committed by Peter Korsgaard
Browse files

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: default avatarGustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 1b603449
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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))