From: Yangbo Lu <yangbo.lu@nxp.com>
Date: Tue, 14 Apr 2020 07:24:50 +0000 (+0800)
Subject: perf: build with NO_LIBCAP=1
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=80f128d2aa7586ce068bbc24badc46ffab2edd4a;p=openwrt%2Fstaging%2Fynezz.git

perf: build with NO_LIBCAP=1

Build with NO_LIBCAP=1. This is to resolve build issue.

Package perf is missing dependencies for the following libraries:
libcap.so.2

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
---

diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile
index aa5fb16f60..aa478a0431 100644
--- a/package/devel/perf/Makefile
+++ b/package/devel/perf/Makefile
@@ -48,6 +48,7 @@ MAKE_FLAGS = \
 	NO_LIBAUDIT=1 \
 	NO_LIBCRYPTO=1 \
 	NO_LIBUNWIND=1 \
+	NO_LIBCAP=1 \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	CC="$(TARGET_CC)" \
 	LD="$(TARGET_CROSS)ld" \