From 83e5d6f77237b64853c194b0ce592e77ef677c4d Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 18 Dec 2006 21:49:06 +0000 Subject: A bunch of defined(__GLIBC__) added. static-linking warning expanded --- applets/applets.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'applets') 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 -#include #include /* 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 -- cgit v1.2.3