summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch')
-rw-r--r--meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch b/meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch
new file mode 100644
index 0000000000..ac20e9b88e
--- /dev/null
+++ b/meta-oe/recipes-devtools/kconfig-frontends/files/0001-Avoid-using-hard-coded-usr-include-paths.patch
@@ -0,0 +1,33 @@
1From 2bd01e844096ab4ecaaab8eccfbfdc721a136d01 Mon Sep 17 00:00:00 2001
2From: Mark Hatle <mark.hatle@amd.com>
3Date: Tue, 22 Aug 2023 12:28:01 -0600
4Subject: [PATCH] Avoid using hard coded /usr/include paths
5
6The system could end up using an include path that points to the host
7system instead of the sysroot. Force the system to use the sysroot.
8
9Upstream-Status: Inappropriate [configuration]
10
11Signed-off-by: Mark Hatle <mark.hatle@amd.com>
12---
13 configure.ac | 4 ----
14 1 file changed, 4 deletions(-)
15
16diff --git a/configure.ac b/configure.ac
17index 150bc50..4dc684f 100644
18--- a/configure.ac
19+++ b/configure.ac
20@@ -344,10 +344,6 @@ AS_IF(
21 [test "$need_panel_menu" = "yes" -o "$need_panel_menu" = "auto"],
22 [AC_SUBST([ncurses_nconf_CPPFLAGS])
23 AC_SUBST([ncurses_panel_menu_LIBS])
24- AS_CASE(
25- [$CURSES_LOC],
26- [ncursesw/*],[ncurses_nconf_CPPFLAGS="-I/usr/include/ncursesw"],
27- [ncurses/*],[ncurses_nconf_CPPFLAGS="-I/usr/include/ncurses"])
28 LIBS_old="$LIBS"
29 LIBS=
30 AC_SEARCH_LIBS(
31--
322.34.1
33