diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-09 00:00:12 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-11-09 00:00:12 +0000 |
commit | 0bac639e951d47c42e881e24055c553a34876f59 (patch) | |
tree | 4a0dacd56ae7671cb3e2416939662c9bc05691ed | |
parent | 757b9a07f5d4d957144daebfd0a20389326589a5 (diff) | |
download | busybox-w32-0bac639e951d47c42e881e24055c553a34876f59.tar.gz busybox-w32-0bac639e951d47c42e881e24055c553a34876f59.tar.bz2 busybox-w32-0bac639e951d47c42e881e24055c553a34876f59.zip |
add && !defined(__UCLIBC__) to static link warning check
git-svn-id: svn://busybox.net/trunk/busybox@16522 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 18cfd57b8..d8bb13303 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -17,7 +17,8 @@ | |||
17 | #include <string.h> | 17 | #include <string.h> |
18 | #include <assert.h> | 18 | #include <assert.h> |
19 | 19 | ||
20 | #if ENABLE_STATIC && defined(__GLIBC__) | 20 | /* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */ |
21 | #if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__) | ||
21 | #warning Static linking against glibc produces buggy executables | 22 | #warning Static linking against glibc produces buggy executables |
22 | #warning (glibc doesn't cope well with ld --gc-sections). | 23 | #warning (glibc doesn't cope well with ld --gc-sections). |
23 | #warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400 | 24 | #warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400 |