Bug#358789: allow build on *-uclibc
Package: busybox
Severity: minor
Tags: patch
--- busybox-1.01/Rules.mak.in 2006-03-12 14:58:03.000000000 +0100
+++ busybox-1.01-4.my/Rules.mak.in 2006-03-12 14:45:00.000000000 +0100
@@ -133,6 +133,9 @@
LIBRARIES:=-lefence
endif
endif
+ifeq ($(host_os),linux-uclibc)
+ CFLAGS += -D_GNU_SOURCE
+endif
ifeq ($(host_os),linux-gnu)
CFLAGS += -D_GNU_SOURCE
endif
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Reply to: