about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386/init-first.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-08-11 20:40:40 +0000
committerUlrich Drepper <drepper@redhat.com>2001-08-11 20:40:40 +0000
commit0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa (patch)
treedf2625fe615dc5fe324eaddc3417451289d2ae6e /sysdeps/mach/hurd/i386/init-first.c
parent44ad8377fb7f62dedf950ddf6fe653943367a5d5 (diff)
downloadglibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.tar.gz
glibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.tar.xz
glibc-0ed24bc67fe5ac9cc5e01d68c0959fcdfccc96aa.zip
Update.
	* sysdeps/arm/init-first.c: Likewise.
	* sysdeps/generic/init-first.c: Likewise.
	* sysdeps/i386/init-first.c: Likewise.
	* sysdeps/sh/init-first.c: Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/i386/init-first.c')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index d69a2ced0e..15c9deab55 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -29,7 +29,9 @@
 
 extern void __mach_init (void);
 extern void __libc_init (int, char **, char **);
+#ifdef USE_NONOPTION_FLAGS
 extern void __getopt_clean_environment (char **);
+#endif
 extern void __libc_global_ctors (void);
 
 unsigned int __hurd_threadvar_max;
@@ -64,8 +66,10 @@ posixland_init (int argc, char **argv, char **envp)
 
   __libc_init (argc, argv, envp);
 
+#ifdef USE_NONOPTION_FLAGS
   /* This is a hack to make the special getopt in GNU libc working.  */
   __getopt_clean_environment (envp);
+#endif
 
 #ifdef SHARED
   __libc_global_ctors ();