commit 4b122db84309d3857a3e783f633e2c877737e616
parent 0312a14a47ca42c6386a570662fd31bfaed7688f
Author: diizzyy <diizzyy@users.noreply.github.com>
Date: Thu, 29 Sep 2016 08:43:46 +0200
netdata: disable atomic instructions
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 <daniel.engberg.lists@pyret.net>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/admin/netdata/Makefile b/admin/netdata/Makefile
@@ -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