From: Roland McGrath Date: Tue, 11 Sep 2007 23:57:30 +0000 (+0000) Subject: * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross X-Git-Tag: cvs/fedora-glibc-20070918T1931~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af385590b238a23e259585daf57b1eb988388f06;p=thirdparty%2Fglibc.git * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross compiling. --- diff --git a/ChangeLog b/ChangeLog index 6117f1a8929..c0b4fb50bb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-09-11 Roland McGrath + + * posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross + compiling. + 2007-09-07 Samuel Thibault * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro. diff --git a/posix/Makefile b/posix/Makefile index 187d9a046f2..0025408ba44 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 $@