thud migration: remove compiler optimizations for CloudConnector recipe

Commit 491082c56ce34f3fd644f8d4457ccd52af951087 in poky layer enables
by default some security enhancements and optimizations for the compiler,
These extra checks added by the flag -D_FORTIFY_SOURCE=2 break the
CloudConnector build. This commit disables the extra validations only
for the CloudConnector recipe.

https://jira.digi.com/browse/DEL-6412

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2019-02-04 14:47:04 +01:00
parent b04b818426
commit 6240fc6fe1
1 changed files with 3 additions and 0 deletions

View File

@ -32,3 +32,6 @@ FILES_${PN}-cert = "${sysconfdir}/ssl/certs/Digi_Int-ca-cert-public.crt"
CONFFILES_${PN} += "${sysconfdir}/cc.conf" CONFFILES_${PN} += "${sysconfdir}/cc.conf"
RDEPENDS_${PN} = "${PN}-cert" RDEPENDS_${PN} = "${PN}-cert"
# Disable extra compilation checks from SECURITY_CFLAGS to avoid build errors
lcl_maybe_fortify_pn-cloudconnector = ""