commit | 1f0e673e5ff8347401c3d3622b843a33b8aca2c1 | [log] [tgz] |
---|---|---|
author | nkskjames <nkskjames@gmail.com> | Thu Jan 28 12:13:17 2016 +0800 |
committer | nkskjames <nkskjames@gmail.com> | Thu Jan 28 12:13:17 2016 +0800 |
tree | d21c0027f300e02bb8f24a74941db9528bc052e1 | |
parent | c7cc243ebbe2afe9fef932a9d55a478ac3c476c7 [diff] | |
parent | f6d294d0018c73b115d8f8841b7cf1f10a28f35c [diff] |
Merge pull request #145 from causten/relocation Resolve relocation warnings with build
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"