blob: ac20e9b88e629ead948ce960a06ed2e8b75eea10 [file] [log] [blame]
Andrew Geissler5082cc72023-09-11 08:41:39 -04001From 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