ash backticks busted in 1.2.2.1
Bennett Todd
bet at rahul.net
Tue Nov 7 14:50:18 UTC 2006
2006-11-07T01:53:30 Denis Vlasenko:
> then please try
>
> #if ENABLE_STATIC && (defined(__GLIBC__) && !defined(__UCLIBC__))
>
> instead, and let me know.
Dropping the extra close-parens, the attached patch built in my
uClibc Bent Linux w/o producing the warning message.
-Bennett
-------------- next part --------------
diff -ru busybox-1.2.2.1.orig/applets/applets.c busybox-1.2.2.1/applets/applets.c
--- busybox-1.2.2.1.orig/applets/applets.c 2006-10-29 20:25:18.000000000 +0000
+++ busybox-1.2.2.1/applets/applets.c 2006-11-07 14:14:02.000000000 +0000
@@ -17,7 +17,7 @@
#include <string.h>
#include <assert.h>
-#if ENABLE_STATIC && defined(__GLIBC__)
+#if ENABLE_STATIC && defined(__GLIBC__) && !defined(__UCLIBC__)
#warning Static linking against glibc produces buggy executables
#warning See sources.redhat.com/bugzilla/show_bug.cgi?id=3400
#warning Note that glibc is utterly unsuitable for static linking anyway.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20061107/09bb94ee/attachment-0002.pgp
More information about the busybox
mailing list