diff options
author | Denis Vlasenko | 2006-10-20 13:42:57 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-20 13:42:57 +0000 |
commit | df5189269074042a60fa87425ef8a01a9aaa4af6 (patch) | |
tree | 44b59418644133ba8bbb274ac2297060d663200e /applets | |
parent | e1a0d486e4804eae098571f1a6788394c2ee51ae (diff) | |
download | busybox-df5189269074042a60fa87425ef8a01a9aaa4af6.zip busybox-df5189269074042a60fa87425ef8a01a9aaa4af6.tar.gz |
Added compile-time warning for STATIC+GLIBC build
Diffstat (limited to 'applets')
-rw-r--r-- | applets/applets.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/applets/applets.c b/applets/applets.c index 10d4c94..868fa50 100644 --- a/applets/applets.c +++ b/applets/applets.c @@ -17,6 +17,13 @@ #include <string.h> #include <assert.h> +#if ENABLE_STATIC && __GLIBC__ +#warning Static linking against glibc produces buggy executables +#warning (glibc doesn't cope well with ld --gc-sections). +#warning See http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400 +#warning Note that glibc is utterly unsuitable for static linking anyway. +#endif + #if ENABLE_SHOW_USAGE && !ENABLE_FEATURE_COMPRESS_USAGE static const char usage_messages[] = #define MAKE_USAGE |