Browse Source

fix build with xtensa

Waldemar Brodkorb 11 years ago
parent
commit
c92f131df8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/cxxtools/Makefile

+ 3 - 0
package/cxxtools/Makefile

@@ -20,6 +20,9 @@ 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_LINUX_XTENSA),y)
+CONFIGURE_ARGS+=	--with-atomictype=generic
+endif
 CONFIGURE_ARGS+=	--disable-demos \
 			--disable-unittest