diff options
author | Roland McGrath <roland@gnu.org> | 2007-09-11 23:57:30 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2007-09-11 23:57:30 +0000 |
commit | af385590b238a23e259585daf57b1eb988388f06 (patch) | |
tree | bb53693050f59b65b6c6122e313ab471a649c772 | |
parent | af2f25a163e3c67f437a68db22d6868042cb33cc (diff) | |
download | glibc-af385590b238a23e259585daf57b1eb988388f06.tar glibc-af385590b238a23e259585daf57b1eb988388f06.tar.gz glibc-af385590b238a23e259585daf57b1eb988388f06.tar.bz2 glibc-af385590b238a23e259585daf57b1eb988388f06.zip |
* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
compiling.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | posix/Makefile | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -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. 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 $@ |