summaryrefslogtreecommitdiff
path: root/package/uclibc++/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-17 12:01:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-10-22 22:31:24 +0200
commit3ca1407b8b0078cfdef9934741533c2ee279460a (patch)
tree1ee769a7de75085920b9f049294482615f8321c2 /package/uclibc++/Makefile
parent03041ae2857cd0f08be98a0442e06ddba1b21c1f (diff)
uclibcxx: fix compile for rpi
Diffstat (limited to 'package/uclibc++/Makefile')
-rw-r--r--package/uclibc++/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/uclibc++/Makefile b/package/uclibc++/Makefile
index 8e6f73559..799e134b5 100644
--- a/package/uclibc++/Makefile
+++ b/package/uclibc++/Makefile
@@ -16,6 +16,7 @@ PKG_LIBNAME:= uclibc++
PKG_OPTS:= dev
DISTFILES:= uClibc++-${PKG_VERSION}.tar.bz2
+WRKDIST= ${WRKDIR}/uClibc++-${PKG_VERSION}
PKG_LIBC_DEPENDS:= uclibc-ng
@@ -28,7 +29,7 @@ INSTALL_STYLE:= manual
MAKE_FLAGS+= ADK_TOPDIR="${WRKBUILD}/" \
${TARGET_CONFIGURE_OPTS} \
- ARCH_CFLAGS="${TARGET_CFLAGS}" \
+ ARCH_CFLAGS="${TARGET_CFLAGS} -lgcc_s" \
CROSS="${TARGET_CROSS}"
TARGET_CONFIGURE_OPTS=