* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross

compiling.
This commit is contained in:
Roland McGrath 2007-09-11 23:57:30 +00:00
parent af2f25a163
commit af385590b2
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-09-11 Roland McGrath <roland@redhat.com>
* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
compiling.
2007-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
* sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro.

View File

@ -301,6 +301,10 @@ $(inst_libexecdir)/getconf: $(inst_bindir)/getconf \
done < $(objpfx)getconf.speclist
$(objpfx)getconf.speclist: $(objpfx)getconf
ifeq (no,$(cross-compiling))
LC_ALL=C GETCONF_DIR=/dev/null \
$(run-program-prefix) $< _POSIX_V6_WIDTH_RESTRICTED_ENVS > $@.new
else
> $@.new
endif
mv -f $@.new $@