aboutsummaryrefslogtreecommitdiff
path: root/localedata/Makefile
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-01-10 14:15:49 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-01-10 14:15:49 -0800
commitc34521ceac1ba7aee2afa06a883415605ba9e07c (patch)
tree97111f4f36b9904ed7ac11c3d0dff312e12f4a8e /localedata/Makefile
parent4cf8f2098f227d32f3b73c70a6498c84872c24ba (diff)
downloadglibc-c34521ceac1ba7aee2afa06a883415605ba9e07c.tar
glibc-c34521ceac1ba7aee2afa06a883415605ba9e07c.tar.gz
glibc-c34521ceac1ba7aee2afa06a883415605ba9e07c.tar.bz2
glibc-c34521ceac1ba7aee2afa06a883415605ba9e07c.zip
Support run bug-setlocale1 directly
Diffstat (limited to 'localedata/Makefile')
-rw-r--r--localedata/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/localedata/Makefile b/localedata/Makefile
index d9f66c5d3e..923916438a 100644
--- a/localedata/Makefile
+++ b/localedata/Makefile
@@ -78,6 +78,8 @@ locale_test_suite := tst_iswalnum tst_iswalpha tst_iswcntrl \
tests = $(locale_test_suite) tst-digits tst-setlocale bug-iconv-trans \
tst-leaks tst-mbswcs6 tst-xlocale1 tst-xlocale2 bug-usesetlocale \
tst-strfmon1 tst-sscanf bug-setlocale1 tst-setlocale2
+tests-static = bug-setlocale1-static
+tests += $(tests-static)
ifeq (yes,$(build-shared))
ifneq (no,$(PERL))
tests: $(objpfx)mtrace-tst-leaks
@@ -285,7 +287,9 @@ $(objpfx)mtrace-tst-leaks: $(objpfx)tst-leaks.out
$(common-objpfx)malloc/mtrace $(objpfx)tst-leaks.mtrace > $@
bug-setlocale1-ENV = LOCPATH=$(common-objpfx)localedata
-bug-setlocale1-ARGS = $(common-objpfx)
+bug-setlocale1-ARGS = -- $(built-program-cmd)
+bug-setlocale1-static-ENV = $(bug-setlocale1-ENV)
+bug-setlocale1-static-ARGS = $(bug-setlocale1-ARGS)
tst-setlocale2-ENV = LOCPATH=$(common-objpfx)localedata
$(objdir)/iconvdata/gconv-modules: