This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Make tst-strftime2 depend on locale generation


From: "Gabriel F. T. Gomes" <gabrielftg@linux.ibm.com>

Building the test cases in parallel might make tst-strftime2 fail.
Simply re-running the test case (or building with -j1) makes the problem
go away.  This patch adds the necessary dependency to allow parallel
builds in the time subdirectory.

Tested for powerpc64le.
---
 time/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/time/Makefile b/time/Makefile
index b9217992a6..cface6f68a 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -61,6 +61,7 @@ include ../gen-locales.mk
 
 $(objpfx)tst-ftime_l.out: $(gen-locales)
 $(objpfx)tst-strptime.out: $(gen-locales)
+$(objpfx)tst-strftime2.out: $(gen-locales)
 endif
 
 tz-cflags = -DTZDIR='"$(zonedir)"' \
-- 
2.21.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]