From af385590b238a23e259585daf57b1eb988388f06 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 11 Sep 2007 23:57:30 +0000 Subject: * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross compiling. --- posix/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'posix/Makefile') diff --git a/posix/Makefile b/posix/Makefile index 187d9a046f..0025408ba4 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -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 $@ -- cgit v1.2.3-70-g09d2