projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8528151
)
add && !defined(__UCLIBC__) to static link warning check
author
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 9 Nov 2006 00:00:12 +0000
(
00:00
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Thu, 9 Nov 2006 00:00:12 +0000
(
00:00
-0000)
applets/applets.c
patch
|
blob
|
history
diff --git
a/applets/applets.c
b/applets/applets.c
index 18cfd57b861a1d0ec10729b16eb7588a44aac5c8..d8bb133033e3e959e650bf1c640762f5ab287b1a 100644
(file)
--- a/
applets/applets.c
+++ b/
applets/applets.c
@@
-17,7
+17,8
@@
#include <string.h>
#include <assert.h>
-#if ENABLE_STATIC && defined(__GLIBC__)
+/* Apparently uclibc defines __GLIBC__ (compat trick?). Oh well. */
+#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)
#warning Static linking against glibc produces buggy executables
#warning (glibc doesn't cope well with ld --gc-sections).
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400