blob: 6b4a5f7a0c343d2da3ac0c66beed7b3d0230a26c [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001From afef4a9391e6bb1a6c3e73d370f240577ed8b0dd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 16 Jan 2022 11:21:54 +0800
4Subject: [PATCH] Fix icu config
5
6do not entertain cppflags from icu, this is because
7icu-config feeds the -I path without sysroot which
8caused native headers to be included and build is
9corrupted in any case its just adding -I/usr/include
10to the CCARGS which we loose nothing if its not
11entertained.
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14---
15 makedefs | 1 -
16 1 file changed, 1 deletion(-)
17
18diff --git a/makedefs b/makedefs
19index 3299eba..2a76f20 100644
20--- a/makedefs
21+++ b/makedefs
22@@ -826,7 +826,6 @@ EOF
23 ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \
24 $icu_ldflags >/dev/null 2>&1
25 if ./makedefs.test 2>/dev/null ; then
26- CCARGS="$CCARGS $icu_cppflags"
27 SYSLIBS="$SYSLIBS $icu_ldflags"
28 else
29 CCARGS="$CCARGS -DNO_EAI"
30--
312.17.1
32