commit | f6d294d0018c73b115d8f8841b7cf1f10a28f35c | [log] [tgz] |
---|---|---|
author | Chris Austen <austenc@us.ibm.com> | Sat Jan 23 18:00:11 2016 -0600 |
committer | Chris Austen <austenc@us.ibm.com> | Sat Jan 23 18:00:11 2016 -0600 |
tree | 4d903846920ced8dac19b164f43f8e6b29260ac5 | |
parent | 9ff7333d1b8414f446e76f865feb6c3fc81c6ee4 [diff] |
Resolve relocation warnings with build Yocto's QA service identified issues with the build The -fpic option was not included in .so files. Resovles issue https://github.com/openbmc/openbmc/issues/105
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb index 72d847d..5eed1f4 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb
@@ -14,7 +14,7 @@ RDEPENDS_${PN} += "libsystemd" -TARGET_CFLAGS += "-std=gnu++14" +TARGET_CFLAGS += " -fpic -std=gnu++14" SRC_URI += "git://github.com/openbmc/ipmi-fru-parser"
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb index fa3e1bf..f7c0394 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-oem.bb
@@ -10,6 +10,7 @@ DEPENDS += "systemd \ host-ipmid \ " +TARGET_CFLAGS += "-fpic" RDEPENDS_${PN} += "libsystemd"
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb index 2a8aa07..24c4045 100644 --- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb +++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid.bb
@@ -12,6 +12,9 @@ inherit obmc-phosphor-sdbus-service inherit obmc-phosphor-c-daemon +TARGET_CFLAGS += "-fpic" + + SRC_URI += "git://github.com/openbmc/phosphor-host-ipmid" SRCREV = "e90d8bf6a342649dba2fd1589a3cddb3cd051bb1"