2007-09-11 Roland McGrath <roland@redhat.com>
authorroland <roland>
Tue, 11 Sep 2007 23:57:22 +0000 (23:57 +0000)
committerroland <roland>
Tue, 11 Sep 2007 23:57:22 +0000 (23:57 +0000)
* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
compiling.

posix/Makefile

index 187d9a0..0025408 100644 (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 $@