Skip to content

Commit

Permalink
* posix/Makefile ($(objpfx)getconf.speclist): Make it empty if cross
Browse files Browse the repository at this point in the history
	compiling.
  • Loading branch information
Roland McGrath committed Sep 11, 2007
1 parent af2f25a commit af38559
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 4 additions & 0 deletions posix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

0 comments on commit af38559

Please sign in to comment.