From 9f88426bbabbe3518c6017961f041e41ddbd3d27 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 13 Feb 2006 09:20:49 +0000 Subject: environ is GNU extension --- libc/misc/internals/__uClibc_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libc/misc/internals/__uClibc_main.c b/libc/misc/internals/__uClibc_main.c index 2f81f4503..8d834595c 100644 --- a/libc/misc/internals/__uClibc_main.c +++ b/libc/misc/internals/__uClibc_main.c @@ -102,8 +102,10 @@ strong_alias (__progname_full, program_invocation_name) libc_hidden_proto(__environ) char **__environ = 0; libc_hidden_data_def(__environ) +#ifdef __USE_GNU /* psm: arm segfaults with strong_alias, although defined */ weak_alias(__environ,environ) +#endif /* TODO: don't export __pagesize; we cant now because libpthread uses it */ extern size_t __pagesize; -- cgit v1.2.3