X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-ivi-common%2Frecipes-extended%2Fdlt-daemon%2Fdlt-daemon_2.11.1.bb;h=b521bca91b15fccce9260a44c16ace531ecd93c2;hb=541ba5ce065038ad3e99dbe9c743f6c12c0548c4;hp=183e2e923df55e1f831419e25358b585abe6c1f4;hpb=be9762b38b7b8608350ac391368cf88ce5906864;p=AGL%2Fmeta-agl.git diff --git a/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb b/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb index 183e2e923..b521bca91 100644 --- a/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb +++ b/meta-ivi-common/recipes-extended/dlt-daemon/dlt-daemon_2.11.1.bb @@ -13,7 +13,8 @@ LICENSE = "MPLv2" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=99ba60c3fad7eaf8c56bca6dd75cba09 \ file://MPL.txt;md5=ccdb2761cef70c8b2612624c323f89dc" -DEPENDS = "dbus zlib" +DEPENDS = "dbus zlib pigz-native" +do_unpack[depends] += "pigz-native:do_populate_sysroot" # FIX ME # This should be TAG = "v${PV}" but yocto doesn't support lightweight tags for now @@ -27,7 +28,16 @@ SRC_URI = "git://git.projects.genivi.org/${PN}.git;branch=${BRANCH};tag=${TAG} \ file://0004-Modify-systemd-config-directory.patch" S = "${WORKDIR}/git" -inherit gzipnative autotools gettext cmake systemd +inherit 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"