diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-30 20:30:23 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-30 22:28:04 +0300 |
commit | 9b60b5fe4a89a24a3866ff38ba7e681fe675da29 (patch) | |
tree | 6cbc115640d406ee50a6fb0152492506299e1e28 /meta-phosphor/common/recipes-phosphor/host-ipmid | |
parent | 44a22c2e1e5f66aa59d2f53c30d68b969f5dfb1a (diff) | |
download | openbmc-9b60b5fe4a89a24a3866ff38ba7e681fe675da29.tar.xz |
phosphor: Fix TARGET_*FLAGS variables
A few recipes were incorrectly passing -std=c++14 to CFLAGS or
CPPFLAGS, which was causing compile failure for pure C code.
Change-Id: I6a3f3cb8c53de95f2cf7631387b975b4ccd784ee
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/host-ipmid')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid-fru.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 171c126a2c..6e5106f257 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,8 @@ DEPENDS += " \ RDEPENDS_${PN} += "libsystemd" -TARGET_CFLAGS += " -fpic -std=gnu++14" +TARGET_CPPFLAGS += " -fpic -std=gnu++14" +TARGET_CFLAGS += " -fpic" SRC_URI += "git://github.com/openbmc/ipmi-fru-parser" |