X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-ivi-common%2Frecipes-extended%2Fdlt-daemon%2Fdlt-daemon_2.15.0.bb;h=dbc87c9ac35a2be1834a8834b34480790c1b15d4;hb=cb0b5d9dc435fe4d4eb89629a9a93311bed841bd;hp=8ab95d1ec125599f15d03d1834adb430565c5157;hpb=85844f4d250d1a45129455c76e467e38d3b3e92c;p=AGL%2Fmeta-agl.git 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..dbc87c9ac 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 @@ -12,7 +12,8 @@ SECTION = "console/utils" LICENSE = "MPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=8184208060df880fe3137b93eb88aeea" -DEPENDS = "dbus zlib" +DEPENDS = "dbus zlib pigz-native" +do_unpack[depends] += "pigz-native:do_populate_sysroot" SRCREV = "e9a486a08fff6d3cc7133a350cec3ee10f463207" SRC_URI = "git://git.projects.genivi.org/${BPN}.git;protocol=http \ @@ -21,7 +22,16 @@ SRC_URI = "git://git.projects.genivi.org/${BPN}.git;protocol=http \ " 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"