diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-26 18:28:28 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-12 10:55:06 -0400 |
commit | 407b28f8f287d56ee60d3697dc1cbd7b43a997ea (patch) | |
tree | 34b7263fb553688fe2fe2871e666764d44ad4aea /meta-networking/recipes-daemons/postfix/files/icu-config.patch | |
parent | 7da4103d4a6ac2af8285e2c9d66ac138bfb071f9 (diff) | |
download | meta-openembedded-407b28f8f287d56ee60d3697dc1cbd7b43a997ea.tar.gz |
postfix: Fix build with security flags and clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-daemons/postfix/files/icu-config.patch')
-rw-r--r-- | meta-networking/recipes-daemons/postfix/files/icu-config.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/icu-config.patch b/meta-networking/recipes-daemons/postfix/files/icu-config.patch new file mode 100644 index 0000000000..9bd9c2f03e --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/icu-config.patch | |||
@@ -0,0 +1,21 @@ | |||
1 | do not entertain cppflags from icu, this is because | ||
2 | icu-config feeds the -I path without sysroot which | ||
3 | caused native headers to be included and build is | ||
4 | corrupted in any case its just adding -I/usr/include | ||
5 | to the CCARGS which we loose nothing if its not | ||
6 | entertained. | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | |||
10 | Index: 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" | ||