diff options
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/Makefile | 1 | ||||
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/Makefile b/sysdeps/mach/hurd/i386/Makefile index 49f609c510..33b701df04 100644 --- a/sysdeps/mach/hurd/i386/Makefile +++ b/sysdeps/mach/hurd/i386/Makefile @@ -1,6 +1,7 @@ ifeq ($(subdir),csu) extra-objs += crt0.o install-lib += crt0.o +omit-deps += crt0 $(objpfx)crt0.o: $(objpfx)static-start.o $(objpfx)abi-note.o $(objpfx)init.o $(link-relocatable) diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index c90ae3d3fd..5bca3a6b09 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -113,7 +113,7 @@ init1 (int argc, char *arg0, ...) __libc_init (argc, argv, __environ); /* This is a hack to make the special getopt in GNU libc working. */ - __getopt_clean_environment (envp); + __getopt_clean_environment (__environ); #ifdef PIC __libc_global_ctors (); |