iotivity: deactivate it on uClibc 1561/head
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Jul 2015 10:58:08 +0000 (12:58 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 12 Jul 2015 11:07:49 +0000 (13:07 +0200)
IoTivity makes use of std::sto* and this is deactivated because GCC
things uClibc does not support C11, but it supports this part, not C11
completely. To make IoTivity work with uClibc a patch for this bug is
needed:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58393

An option would be this patch:
https://github.com/maximeh/buildroot/blob/master/package/gcc/4.9.1/850-libstdcxx-uclibc-c99.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
net/iotivity/Makefile

index 880522cc5e325db0544a9615e1a3cd25feb610d9..7653d62ef1227e6f13fb1765c2fa803022d391ee 100644 (file)
@@ -33,7 +33,7 @@ include $(INCLUDE_DIR)/scons.mk
 define Package/iotivity
   SECTION:=net
   CATEGORY:=Network
-  DEPENDS:= +libpthread +librt +libstdcpp +libuuid
+  DEPENDS:=@!USE_UCLIBC +libpthread +librt +libstdcpp +libuuid
   TITLE:=IoTivity Library
   URL:=https://www.iotivity.org
 endef