瀏覽代碼

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 <[email protected]>
Mathias Kresin 9 年之前
父節點
當前提交
66146a223e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      package/devel/perf/Makefile

+ 2 - 0
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) \