svn commit: trunk/busybox/applets

vda at busybox.net vda at busybox.net
Thu Nov 9 00:00:13 UTC 2006


Author: vda
Date: 2006-11-08 16:00:12 -0800 (Wed, 08 Nov 2006)
New Revision: 16522

Log:
add && !defined(__UCLIBC__) to static link warning check


Modified:
   trunk/busybox/applets/applets.c


Changeset:
Modified: trunk/busybox/applets/applets.c
===================================================================
--- trunk/busybox/applets/applets.c	2006-11-07 20:50:21 UTC (rev 16521)
+++ trunk/busybox/applets/applets.c	2006-11-09 00:00:12 UTC (rev 16522)
@@ -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




More information about the busybox-cvs mailing list