diff options
author | Denis Vlasenko | 2006-11-09 00:00:12 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-09 00:00:12 +0000 |
commit | 07159f0f0e2188b1ce3bf7bc6b282f08986fd5ee (patch) | |
tree | 4a0dacd56ae7671cb3e2416939662c9bc05691ed /applets | |
parent | 8528151658927bcb4822f2956b93d352cf5ad2e6 (diff) | |
download | busybox-07159f0f0e2188b1ce3bf7bc6b282f08986fd5ee.zip busybox-07159f0f0e2188b1ce3bf7bc6b282f08986fd5ee.tar.gz |
add && !defined(__UCLIBC__) to static link warning check
Diffstat (limited to 'applets')
-rw-r--r-- | applets/applets.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c index 18cfd57..d8bb133 100644 --- a/applets/applets.c +++ b/applets/applets.c @@ -17,7 +17,8 @@ #include <string.h> #include <assert.h> -#if ENABLE_STATIC && defined(__GLIBC__) +/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */ +#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__) #warning Static linking against glibc produces buggy executables #warning (glibc doesn't cope well with ld --gc-sections). #warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400 |