diff options
Diffstat (limited to 'meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb')
-rw-r--r-- | meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb b/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb index 8ab95d1ec..d068f250f 100644 --- a/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb +++ b/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.15.0.bb @@ -23,6 +23,15 @@ S = "${WORKDIR}/git" inherit gzipnative autotools gettext cmake systemd +# -fPIC is needed to prevent relocation errors when we compile gtest with +# Yocto security flags. See this issue for more details: +# +# https://github.com/google/googletest/issues/854 +# +# If that issue is fixed, we can probably remove the manual -fPIC flags here. +OECMAKE_C_FLAGS += " -fPIC" +OECMAKE_CXX_FLAGS += " -fPIC" + PACKAGES += "${PN}-systemd" SYSTEMD_PACKAGES = "${PN} ${PN}-systemd" SYSTEMD_SERVICE_${PN} = "dlt-system.service dlt.service" |