aboutsummaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-18 21:49:06 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-18 21:49:06 +0000
commit83e5d6f77237b64853c194b0ce592e77ef677c4d (patch)
tree84b352ca012bd713d990ef1d90b47777a6f6e2e7 /applets
parentf42ff90453687624874c1eb8cc53f68514f7cb34 (diff)
downloadbusybox-83e5d6f77237b64853c194b0ce592e77ef677c4d.tar.gz
A bunch of defined(__GLIBC__) added. static-linking warning expanded
Diffstat (limited to 'applets')
-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 @@
*/
#include "busybox.h"
-#include <unistd.h>
-#include <string.h>
#include <assert.h>
/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
@@ -22,7 +20,9 @@
#warning Static linking against glibc produces buggy executables
#warning (glibc does not cope well with ld --gc-sections).
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
-#warning Note that glibc is utterly unsuitable for static linking anyway.
+#warning Note that glibc is unsuitable for static linking anyway.
+#warning If you still want to do it, remove -Wl,--gc-sections
+#warning from top-level Makefile and remove this warning.
#endif
#if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE