Skip to contentSkip to conversation

picocom: Fix incorrect handling of ldflags

PATCH In review Federico Giovanardi 2 participants 2 messages Apr 11, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 picocom: Fix incorrect handling of ldflags

The previous version reports QA issue: no GNU_HASH in elf binary during build

---
 meta-oe/recipes-support/picocom/picocom_1.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/picocom/picocom_1.7.bb +1 -0
index dbee65609..c85c344e3 100644
@@ -10,6 +10,7 @@ SRC_URI[md5sum] = "8eaba1d31407e8408674d6e57af447ef"
 SRC_URI[sha256sum] = "d0f31c8f7a215a76922d30c81a52b9a2348c89e02a84935517002b3bc2c1129e"
 
 CPPFLAGS_append = '-DVERSION_STR=\\"${PV}\\" -DUUCP_LOCK_DIR=\\"/var/lock\\" -DHIGH_BAUD'
+TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_install () {
     install -d ${D}${bindir}
Signature · 1 line
2.11.0
#1 lore raw

I think It's already fixed in Khem's upgrade to 2.2 version.

Quoted 32 lines · Federico Giovanardi

The previous version reports QA issue: no GNU_HASH in elf binary during build

---
 meta-oe/recipes-support/picocom/picocom_1.7.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/picocom/picocom_1.7.bb +0 -0
index dbee65609..c85c344e3 100644
@@ -10,6 +10,7 @@ SRC_URI[md5sum] = "8eaba1d31407e8408674d6e57af447ef"
 SRC_URI[sha256sum] = "d0f31c8f7a215a76922d30c81a52b9

a2348c89e02a84935517002b3bc2c1129e"

CPPFLAGS_append = '-DVERSION_STR=\\"${PV}\\"

meta-oe/recipes-support/picocom/picocom_1.7.bb +1 -2
-DUUCP_LOCK_DIR=\\"/var/lock\\" -DHIGH_BAUD'
+TARGET_CC_ARCH += "${LDFLAGS}"
 
 do_install () {
     install -d ${D}${bindir}
--

2.11.0

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel