summaryrefslogtreecommitdiff
path: root/package/cxxtools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-22 08:02:16 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-22 08:02:29 +0200
commit303ae71120a965eb4295a6f3aa6e1813da010cc5 (patch)
treeae4d55d85b415d24d9794418866e6a52faa8012d /package/cxxtools
parent004052ce72369e657785d7f8b59b83cb59c4bdd4 (diff)
remove uclibc++ support, does not work well for arm
Diffstat (limited to 'package/cxxtools')
-rw-r--r--package/cxxtools/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
index 3fcddf392..df140ecf8 100644
--- a/package/cxxtools/Makefile
+++ b/package/cxxtools/Makefile
@@ -5,15 +5,13 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= cxxtools
PKG_VERSION:= 2.2.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= aab00068ae5237435b37ac86f2ac7576
PKG_DESCR:= collection of general-purpose C++ classes
PKG_SECTION:= libs
-PKG_BUILDDEP:= libiconv-tiny
PKG_URL:= http://www.tntnet.org/
PKG_SITES:= http://www.tntnet.org/download/
PKG_NEED_CXX:= 1
-PKG_CXX:= CXXTOOLS
PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
@@ -22,18 +20,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,CXXTOOLS,cxxtools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
-TARGET_CXXFLAGS+= -fno-builtin -nostdinc++ \
- -I${STAGING_TARGET_DIR}/usr/include/uClibc++ -Wl,-E
-TARGET_LDFLAGS+= -luClibc++ -liconv -lm -lc -nodefaultlibs -shared
-else
-TARGET_LDFLAGS+= -liconv -shared
-endif
-
-TARGET_CFLAGS+= -fPIC
-TARGET_CXXFLAGS+= -fPIC
-CONFIGURE_ARGS+= --with-libiconv-prefix='${STAGING_TARGET_DIR}/usr' \
- --disable-demos --disable-unittest
+CONFIGURE_ARGS+= --disable-demos \
+ --disable-unittest
cxxtools-install:
${INSTALL_DIR} ${IDIR_CXXTOOLS}/usr/lib