blob: 9bd9c2f03ee9a5d8185673f86dab5e10ce285d08 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001do not entertain cppflags from icu, this is because
2icu-config feeds the -I path without sysroot which
3caused native headers to be included and build is
4corrupted in any case its just adding -I/usr/include
5to the CCARGS which we loose nothing if its not
6entertained.
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9
10Index: postfix-3.2.2/makedefs
11===================================================================
12--- postfix-3.2.2.orig/makedefs
13+++ postfix-3.2.2/makedefs
14@@ -799,7 +799,6 @@ EOF
15 ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \
16 $icu_ldflags >/dev/null 2>&1
17 if ./makedefs.test 2>/dev/null ; then
18- CCARGS="$CCARGS $icu_cppflags"
19 SYSLIBS="$SYSLIBS $icu_ldflags"
20 else
21 CCARGS="$CCARGS -DNO_EAI"