mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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:
@@ -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"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user