mirror of git://sourceware.org/git/glibc.git
* iconv/Makefile (test-iconvconfig): New target.
[$(cross-compiling) != yes] (xtests): Depend on it.
This commit is contained in:
parent
6a361b2e92
commit
ff06ca8d20
|
|
@ -1,5 +1,8 @@
|
||||||
2004-12-19 Roland McGrath <roland@redhat.com>
|
2004-12-19 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* iconv/Makefile (test-iconvconfig): New target.
|
||||||
|
[$(cross-compiling) != yes] (xtests): Depend on it.
|
||||||
|
|
||||||
* iconv/iconvconfig.c (nostdlib, output_file, output_file_len):
|
* iconv/iconvconfig.c (nostdlib, output_file, output_file_len):
|
||||||
New variables.
|
New variables.
|
||||||
(options, parse_opt, main): Take new options --nostdlib and
|
(options, parse_opt, main): Take new options --nostdlib and
|
||||||
|
|
|
||||||
|
|
@ -78,3 +78,15 @@ $(inst_bindir)/iconv: $(objpfx)iconv_prog $(+force)
|
||||||
|
|
||||||
$(objpfx)iconv_prog: $(iconv_prog-modules:%=$(objpfx)%.o)
|
$(objpfx)iconv_prog: $(iconv_prog-modules:%=$(objpfx)%.o)
|
||||||
$(objpfx)iconvconfig: $(iconvconfig-modules:%=$(objpfx)%.o)
|
$(objpfx)iconvconfig: $(iconvconfig-modules:%=$(objpfx)%.o)
|
||||||
|
|
||||||
|
ifneq ($(cross-compiling),yes)
|
||||||
|
xtests: test-iconvconfig
|
||||||
|
endif
|
||||||
|
|
||||||
|
.PHONY: test-iconvconfig
|
||||||
|
test-iconvconfig: /dev/null $(objpfx)iconvconfig
|
||||||
|
tmp=$(objpfx)gconv-modules.cache.$$$$; \
|
||||||
|
rm -f $$tmp; \
|
||||||
|
$(make-test-out) --output=$$tmp --nostdlib $(inst_gconvdir) && \
|
||||||
|
cmp $$tmp $(inst_gconvdir)/gconv-modules.cache && \
|
||||||
|
rm -f $$tmp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue