diff options
-rw-r--r-- | libc/misc/internals/__uClibc_main.c | 2 |
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; |