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@gmail.com>
This commit is contained in:
Khem Raj
2016-11-16 11:38:27 -08:00
committed by Martin Jansa
parent eef06e7cbe
commit 1c8afeed17
@@ -10,6 +10,7 @@ DEPENDS = "glib-2.0 libpcre"
inherit autotools lib_package pkgconfig inherit autotools lib_package pkgconfig
CFLAGS_append = " -DPAGE_SIZE=4096 " CFLAGS_append = " -DPAGE_SIZE=4096 "
SECURITY_CFLAGS_remove_toolchain-clang = "-D_FORTIFY_SOURCE=2"
SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2" SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2"