From 2d783313ecd0b63a9696f7ff823beeaeeda431a5 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 8 Aug 2014 13:29:04 +0900 Subject: Fix parallel make race when generating unistring/cdefs.h. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trivial fix by Richard Purdie in: http://lists.openembedded.org/pipermail/openembedded-core/2012-April/059850.html * lib/Makefile.am (unistring/cdefs.h): Add $(UNUSED_PARAMETER_H) to prerequisites. Reported by Ludovic Courtès. --- lib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 917ace1..265ff46 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -159,7 +159,7 @@ nobase_nodist_include_HEADERS += unistring/version.h # unistring/cdefs.h is not public, but is included by other header files. nobase_nodist_include_HEADERS += unistring/cdefs.h -unistring/cdefs.h : unistring/cdefs.in.h +unistring/cdefs.h : unistring/cdefs.in.h $(UNUSED_PARAMETER_H) @MKDIR_P@ unistring rm -f $@-t $@ sed -e '/definition of _GL_UNUSED_PARAMETER/r $(UNUSED_PARAMETER_H)' \ -- cgit v1.2.1