summaryrefslogtreecommitdiff
path: root/package/dansguardian/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-25 23:02:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-25 23:02:27 +0100
commit83f5e16fffe029232114ee9f54b8df41d5841912 (patch)
tree981c8fe3ba18133dd7b01a79e817de1961253600 /package/dansguardian/Makefile
parent02e9bb0970ba681f228dc642b1e5026cc97047c7 (diff)
add update script to base-files
- system update via http/ftp/ssh/file possible - add bridge script - cleanup unused files
Diffstat (limited to 'package/dansguardian/Makefile')
-rw-r--r--package/dansguardian/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile
index 69d86719a..2a21584c5 100644
--- a/package/dansguardian/Makefile
+++ b/package/dansguardian/Makefile
@@ -23,6 +23,12 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,DANSGUARDIAN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+ifeq ($(ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX),y)
+CONFIGURE_ENV+= CXXFLAGS="-fno-threadsafe-statics -fno-builtin -nostdinc++ \
+ -I${STAGING_DIR}/usr/include/uClibc++" \
+ LIBS="-nodefaultlibs -luClibc++ -lgcc -lm"
+endif
+
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --enable-orig-ip \
--with-proxyuser=proxy \