* Makefile (subdirs): Put csu first.

* sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
This commit is contained in:
Roland McGrath 1995-02-20 23:55:12 +00:00
parent f8e960f1b0
commit 41d43dbce0
2 changed files with 8 additions and 6 deletions

View file

@ -1,5 +1,9 @@
Mon Feb 20 04:04:57 1995 Roland McGrath <roland@duality.gnu.ai.mit.edu>
* Makefile (subdirs): Put csu first.
* sysdeps/mach/hurd/start.c: Include unistd.h for __environ decl.
* Makeconfig [elf=yes] (+preinit, +postinit): New variables, set
to crt[in].o.
(csu-objpfx): New variable.

View file

@ -49,12 +49,10 @@ sysdep-subdirs := $(subst $(\n), ,$(sysdep-subdirs))
endif
# These are the subdirectories containing the library source.
+ansi_dirs := assert ctype locale math setjmp \
signal stdio stdlib malloc string time
+posix_dirs := dirent grp pwd posix io termios
+other_dirs := resource socket misc gnulib $(wildcard crypt) manual csu
subdirs := $(strip $(+ansi_dirs) $(+posix_dirs) $(+other_dirs) \
$(sysdep-subdirs))
subdirs := csu assert ctype locale math setjmp signal stdio stdlib \
malloc string time dirent grp pwd posix io termios resource \
socket misc gnulib $(wildcard crypt) manual \
$(sysdep-subdirs)
export subdirs := $(subdirs) # Benign, useless in GNU make before 3.63.
# The mach and hurd subdirectories have many generated header files which