diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-26 18:28:28 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-02 08:45:47 +0200 |
commit | 3267d6db2130622d55ee06c72deebdd344555eb3 (patch) | |
tree | 74a3023ab93fe4d8b14b31d36c22d9be01d63de3 /meta-networking/recipes-daemons/postfix/files/icu-config.patch | |
parent | ba00b39f7d89c280e6022fe6983ce8b0c5107242 (diff) | |
download | meta-openembedded-contrib-3267d6db2130622d55ee06c72deebdd344555eb3.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>
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 @@ +do not entertain cppflags from icu, this is because +icu-config feeds the -I path without sysroot which +caused native headers to be included and build is +corrupted in any case its just adding -I/usr/include +to the CCARGS which we loose nothing if its not +entertained. + +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +Index: postfix-3.2.2/makedefs +=================================================================== +--- postfix-3.2.2.orig/makedefs ++++ postfix-3.2.2/makedefs +@@ -799,7 +799,6 @@ EOF + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ + $icu_ldflags >/dev/null 2>&1 + if ./makedefs.test 2>/dev/null ; then +- CCARGS="$CCARGS $icu_cppflags" + SYSLIBS="$SYSLIBS $icu_ldflags" + else + CCARGS="$CCARGS -DNO_EAI" |