about summary refs log tree commit diff
path: root/time/Makefile
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-10-08 14:32:17 -0300
committerGabriel F. T. Gomes <gabrielftg@linux.ibm.com>2019-10-08 18:34:05 -0300
commit52151051b39293dac9fc3181cfd6240d7ce86ca1 (patch)
treede67039ba39fdfc34f7e94af67d4b323e2ea4760 /time/Makefile
parent25465ee0370096a138e670e7fad26d5de8926ffb (diff)
downloadglibc-52151051b39293dac9fc3181cfd6240d7ce86ca1.tar.gz
glibc-52151051b39293dac9fc3181cfd6240d7ce86ca1.tar.xz
glibc-52151051b39293dac9fc3181cfd6240d7ce86ca1.zip
Make tst-strftime2 and tst-strftime3 depend on locale generation
Building the test cases in parallel might make tst-strftime2 and
tst-strftime3 fail.  Simply re-running the test case (or building
serially) makes the problem go away.  This patch adds the necessary
dependency to allow parallel builds in the time subdirectory.

Tested for powerpc64le.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'time/Makefile')
-rw-r--r--time/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/time/Makefile b/time/Makefile
index b9217992a6..ad8844ea34 100644
--- a/time/Makefile
+++ b/time/Makefile
@@ -61,6 +61,8 @@ include ../gen-locales.mk
 
 $(objpfx)tst-ftime_l.out: $(gen-locales)
 $(objpfx)tst-strptime.out: $(gen-locales)
+$(objpfx)tst-strftime2.out: $(gen-locales)
+$(objpfx)tst-strftime3.out: $(gen-locales)
 endif
 
 tz-cflags = -DTZDIR='"$(zonedir)"' \