summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__uClibc_main.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:20:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-13 09:20:49 +0000
commit9f88426bbabbe3518c6017961f041e41ddbd3d27 (patch)
tree288e458826689a293d9eb8a8c72afaa812c276b4 /libc/misc/internals/__uClibc_main.c
parente5d3043b89c1b252b3714c54fd25cbb812e99b11 (diff)
environ is GNU extension
Diffstat (limited to 'libc/misc/internals/__uClibc_main.c')
-rw-r--r--libc/misc/internals/__uClibc_main.c2
1 files changed, 2 insertions, 0 deletions
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;