mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
linux-yocto-3.4: Disable extra slang header search path
Add in a workaround to avoid host infection detection build failures from the slang include directory in perf. I'll defer to Bruce to fix this properly but we need a workaround now as this is breaking builds. (From OE-Core rev: 4fd4b2eafb5f4ff2ef85d7f5ff3238a41c34313b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
20
meta/recipes-kernel/linux/linux-yocto/noslang.patch
Normal file
20
meta/recipes-kernel/linux/linux-yocto/noslang.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
We (OE) install slang into /usr/include so we never need to look into
|
||||
/usr/include/slang/. We never want to look into a hardcoded path like this
|
||||
since it triggers host infection issues. For now, simply remove this
|
||||
since it causes us problems.
|
||||
|
||||
Upstream-Status: Pending (would need rework)
|
||||
|
||||
Index: tools/perf/Makefile
|
||||
===================================================================
|
||||
--- linux.orig/tools/perf/Makefile 2012-08-07 10:29:43.020149620 +0000
|
||||
+++ linux/tools/perf/Makefile 2012-08-07 10:30:08.128148098 +0000
|
||||
@@ -504,7 +504,7 @@
|
||||
BASIC_CFLAGS += -DNO_NEWT_SUPPORT
|
||||
else
|
||||
# Fedora has /usr/include/slang/slang.h, but ubuntu /usr/include/slang.h
|
||||
- BASIC_CFLAGS += -I/usr/include/slang
|
||||
+ # BASIC_CFLAGS += -I/usr/include/slang
|
||||
EXTLIBS += -lnewt -lslang
|
||||
LIB_OBJS += $(OUTPUT)util/ui/setup.o
|
||||
LIB_OBJS += $(OUTPUT)util/ui/browser.o
|
||||
Reference in New Issue
Block a user