Ticket #8903: busybox.patch

File busybox.patch, 722 bytes (added by sav, 5 years ago)

Fix build busybox for gcc 4.5.2/eglibc 2.12

  • Makefile

    diff -durN busybox.old/Makefile busybox/Makefile
    old new  
    1717                http://distfiles.gentoo.org/distfiles/ 
    1818PKG_MD5SUM:=a2ce1a951571da8c6e0eaf75b1acef60 
    1919 
    20 PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC:librpc 
     20PKG_BUILD_DEPENDS:=BUSYBOX_CONFIG_FEATURE_HAVE_RPC&&USE_UCLIBC:librpc 
    2121PKG_BUILD_PARALLEL:=1 
    2222 
    2323include $(INCLUDE_DIR)/package.mk 
     
    6666endif 
    6767 
    6868LDLIBS:=m crypt 
    69 ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC 
     69ifdef CONFIG_BUSYBOX_CONFIG_FEATURE_HAVE_RPC&&USE_UCLIBC:librpc 
    7070  TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include 
    7171  export LDFLAGS=$(TARGET_LDFLAGS) 
    7272  LDLIBS += rpc