aboutsummaryrefslogtreecommitdiff
path: root/applets/applets.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-18 21:49:06 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-12-18 21:49:06 +0000
commitee81790a7d43f1de60d34d9bc2f0ffb0130d56bf (patch)
tree84b352ca012bd713d990ef1d90b47777a6f6e2e7 /applets/applets.c
parent077bb4f5c627e94acc22a69a76a8ff8fbea4e49e (diff)
downloadbusybox-w32-ee81790a7d43f1de60d34d9bc2f0ffb0130d56bf.tar.gz
busybox-w32-ee81790a7d43f1de60d34d9bc2f0ffb0130d56bf.tar.bz2
busybox-w32-ee81790a7d43f1de60d34d9bc2f0ffb0130d56bf.zip
A bunch of defined(__GLIBC__) added. static-linking warning expanded
git-svn-id: svn://busybox.net/trunk/busybox@16996 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets/applets.c')
-rw-r--r--applets/applets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 23f9e4f92..f8abb2767 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -13,8 +13,6 @@
13 */ 13 */
14 14
15#include "busybox.h" 15#include "busybox.h"
16#include <unistd.h>
17#include <string.h>
18#include <assert.h> 16#include <assert.h>
19 17
20/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */ 18/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
@@ -22,7 +20,9 @@
22#warning Static linking against glibc produces buggy executables 20#warning Static linking against glibc produces buggy executables
23#warning (glibc does not cope well with ld --gc-sections). 21#warning (glibc does not cope well with ld --gc-sections).
24#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400 22#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
25#warning Note that glibc is utterly unsuitable for static linking anyway. 23#warning Note that glibc is unsuitable for static linking anyway.
24#warning If you still want to do it, remove -Wl,--gc-sections
25#warning from top-level Makefile and remove this warning.
26#endif 26#endif
27 27
28#if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE 28#if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE