Explorar o código

If locale support is not enabled, don't build 'tst_ftime_l'.

"Steven J. Hill" %!s(int64=19) %!d(string=hai) anos
pai
achega
db8fa9bb9a
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      test/time/Makefile

+ 4 - 0
test/time/Makefile

@@ -4,6 +4,10 @@
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 TESTS_DISABLED := bug-asctime bug-asctime_r time tst-mktime2 tst-posixtz \
 	tst-strftime tst-strptime tst-timezone
 	tst-strftime tst-strptime tst-timezone
 
 
+ifneq ($(UCLIBC_HAS_LOCALE),y)
+TESTS_DISABLED += tst-ftime_l
+endif
+
 include ../Test.mak
 include ../Test.mak
 
 
 CFLAGS_tst-strptime2 := -std=c99
 CFLAGS_tst-strptime2 := -std=c99