From: Mathias Kresin Date: Fri, 17 Mar 2017 07:29:42 +0000 (+0100) Subject: perf: fix build with kernel 4.9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=66146a223e78b03388ebb308a0e93503b3216384;p=librecmc%2Flibrecmc.git perf: fix build with kernel 4.9 The musl workaround isn't required anymore and causes build errors with kernel 4.9 when applied. Signed-off-by: Mathias Kresin --- diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index f2f8d6c95c..a9e11b4e32 100644 --- a/package/devel/perf/Makefile +++ b/package/devel/perf/Makefile @@ -61,9 +61,11 @@ MAKE_FLAGS = \ WERROR=0 \ prefix=/usr +ifdef CONFIG_LINUX_4_4 ifdef CONFIG_USE_MUSL MAKE_FLAGS += EXTRA_CFLAGS="-I$(CURDIR)/musl-include -include $(CURDIR)/musl-compat.h -D__UCLIBC__" endif +endif define Build/Compile +$(MAKE_FLAGS) $(MAKE) $(PKG_JOBS) \