From 1c089110a33d3994fd19ec8fc169cc1cb16c98f8 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 14 Aug 2013 15:25:36 +0200 Subject: sorry libgcc problem still exist. don't know why --- package/busybox/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'package/busybox') diff --git a/package/busybox/Makefile b/package/busybox/Makefile index b9476be3e..4d751a2b1 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -38,7 +38,11 @@ BB_MAKE_FLAGS:= V=1 IPKG_ARCH="${CPU_ARCH}" ARCH="${ARCH}" GCC_HONOUR_COPTS=s \ HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="$(CFLAGS_FOR_BUILD)" \ -C ${WRKBUILD} ifneq (${ADK_NATIVE},y) -BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS="-static-libgcc" +ifeq ($(ADK_TARGET_LIB_STATIC_LIBGCC),y) +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" EXTRA_LDFLAGS='-static-libgcc' +else +BB_MAKE_FLAGS+= CROSS_COMPILE="$(TARGET_CROSS)" +endif else BB_MAKE_FLAGS+= EXTRA_LDFLAGS="-static-libgcc" endif -- cgit v1.2.3