From 91e21e6e035eb0020d53af554ad41c23ef3d4088 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 1 Mar 2011 05:41:44 +0000 Subject: [PATCH] uclibc++: use the shared libgcc instead of forcing the static one git-svn-id: svn://svn.openwrt.org/openwrt/packages@25804 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/uclibc++/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/uclibc++/Makefile b/libs/uclibc++/Makefile index 6420d8b4c..503c12e98 100644 --- a/libs/uclibc++/Makefile +++ b/libs/uclibc++/Makefile @@ -51,7 +51,8 @@ MAKE_FLAGS:= \ CPU_CFLAGS="$(TARGET_CFLAGS)" \ CROSS="$(TARGET_CROSS)" \ CP="$(CP)" \ - $(if $(CONFIG_TARGET_avr32),check_as_needed=) + GEN_LIBS="-lc $(LIBGCC_S)" \ + check_as_needed= # check_as_needed overrides dependency on libgcc_s