The following commit:
commit d3a1c378d4d0099efa61c7c4c56f344ee50855f1
Author: Liang Li <[email protected]>
Date: Wed Aug 22 16:04:50 2012 +0800
perf: add SLANG_INC for slang.h
seems to have inadvertently added:
- CFLAGS += -DHAVE_SLANG_SUPPORT
for no good reason. This results in failed perf builds, which adding
it back fixes.
Signed-off-by: Tom Zanussi <[email protected]>
---
tools/perf/config/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 4967852..48b28ef 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -364,9 +364,10 @@ ifndef NO_SLANG
msg := $(warning slang not found, disables TUI support. Please install
slang-devel or libslang-dev);
NO_SLANG := 1
else
- # Some releases like Fedora has /usr/include/slang/slang.h other than
/usr/include/slang.h
+ # Some releases like Fedora have /usr/include/slang/slang.h instead of
/usr/include/slang.h
SLANG_INC ?= -idirafter =/usr/include/slang
CFLAGS += $(SLANG_INC)
+ CFLAGS += -DHAVE_SLANG_SUPPORT
EXTLIBS += -lslang
endif
endif
--
1.8.3.1
--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto