netdata: disable atomic instructions
authordiizzyy <redacted>
Thu, 29 Sep 2016 06:43:46 +0000 (08:43 +0200)
committerGitHub <redacted>
Thu, 29 Sep 2016 06:43:46 +0000 (08:43 +0200)
The auto detection is a bit dodgy and sometimes fails to identify support, disable atomic instruction for now.

Fixes #3251 and bumps PKG_RELEASE

Signed-off-by: Daniel Engberg <redacted>
admin/netdata/Makefile

index 38b2837b97fa070dfa5e25ed64121b6f450bc2a2..a15e59d16e063c755fc53249788feaae0fea293c 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=netdata
 PKG_VERSION:=1.3.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MAINTAINER:=Sebastian Careba <nitroshift@yahoo.com>
 PKG_LICENSE:=GPL-3.0
 PKG_LICENSE_FILES:=COPYING
@@ -22,6 +22,8 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_INSTALL:=1
 PKG_FIXUP:=autoreconf
 
+TARGET_CFLAGS+= -DNETDATA_NO_ATOMIC_INSTRUCTIONS=1
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/netdata
git clone https://git.99rst.org/PROJECT