summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-08 15:05:14 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-08 15:05:14 +0200
commitbd0c8fc24a9d92a9c561e53843e1d23e02d556bf (patch)
treeac0aaecba3f320564b656709044043c73d7d938a
parenta1cc6f938487f3d71a285b90cb7ed83d322e1e36 (diff)
fix avr32 build
-rw-r--r--package/dansguardian/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/dansguardian/Makefile b/package/dansguardian/Makefile
index d7991c2d7..86d8e979a 100644
--- a/package/dansguardian/Makefile
+++ b/package/dansguardian/Makefile
@@ -20,7 +20,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_LINUX_AVR32),y)
+LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc
+else
LIBRARIES:=-nodefaultlibs -luClibc++ -lgcc -lm -lc -lgcc_s
+endif
+
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
LIBRARIES+=-lssp
endif