[oe-commits] [meta-openembedded] 12/19: fribidi: Fix build with security flags turned on
git at git.openembedded.org
git at git.openembedded.org
Sat Nov 26 00:10:49 UTC 2016
martin_jansa pushed a commit to branch master
in repository meta-openembedded.
commit 1c8afeed179495a53e7b782b994e4a1f00f15536
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Wed Nov 16 11:38:27 2016 -0800
fribidi: Fix build with security flags turned on
Clang complains like below
| ../../fribidi-0.19.7/charset/fribidi-char-sets-cap-rtl.c:148:7: error: expected expression
| DBG ("warning: could not find a mapping for CapRTL to Unicode:");
Therefore quick fix is to remove FORTIFY_SOURCE from cmdline
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-devtools/libfribidi/fribidi_0.19.7.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.7.bb b/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.7.bb
index f8e7aa0..e79de66 100644
--- a/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.7.bb
+++ b/meta-oe/recipes-devtools/libfribidi/fribidi_0.19.7.bb
@@ -10,6 +10,7 @@ DEPENDS = "glib-2.0 libpcre"
inherit autotools lib_package pkgconfig
CFLAGS_append = " -DPAGE_SIZE=4096 "
+SECURITY_CFLAGS_remove_toolchain-clang = "-D_FORTIFY_SOURCE=2"
SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list