diff options
author | Mathias Kresin <dev@kresin.me> | 2017-03-17 08:29:42 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-03-17 08:58:50 +0100 |
commit | 66146a223e78b03388ebb308a0e93503b3216384 (patch) | |
tree | 774834c599a3fa45eefcfa35bf9814a48bac47a9 /package/devel | |
parent | 6a82f4006cb1651bc62e1eb23ca81f1bd19214c0 (diff) | |
download | mtk-20170518-66146a223e78b03388ebb308a0e93503b3216384.zip mtk-20170518-66146a223e78b03388ebb308a0e93503b3216384.tar.gz mtk-20170518-66146a223e78b03388ebb308a0e93503b3216384.tar.bz2 |
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 <dev@kresin.me>
Diffstat (limited to 'package/devel')
-rw-r--r-- | package/devel/perf/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/devel/perf/Makefile b/package/devel/perf/Makefile index f2f8d6c..a9e11b4 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) \ |