Skip to contentSkip to conversation

cross-canadian.bbclass: drop TARGET_* flags overrides

PATCH New [email protected] 1 participant 1 message Sep 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cross-canadian.bbclass: drop TARGET_* flags overrides

From: Ming Liu <[email protected]>

A regression was introduced by me in commit 767335c9:
[ cross-canadian.bbclass: override TARGET_* flags ]

it causes BUILDSDK_C/CXXFLAGS being exported in environment-setup script built from meta-environment recipe, which is wrong, restore to TARGET_C/CXXFLAGS.

---
 meta/classes/cross-canadian.bbclass | 5 -----
 1 file changed, 5 deletions(-)
meta/classes/cross-canadian.bbclass +0 -5
index 69cbe90..1928455 100644
@@ -113,11 +113,6 @@ HOST_CC_ARCH = "${SDK_CC_ARCH}"
 HOST_LD_ARCH = "${SDK_LD_ARCH}"
 HOST_AS_ARCH = "${SDK_AS_ARCH}"
 
-TARGET_CPPFLAGS = "${BUILDSDK_CPPFLAGS}"
-TARGET_CFLAGS = "${BUILDSDK_CFLAGS}"
-TARGET_CXXFLAGS = "${BUILDSDK_CXXFLAGS}"
-TARGET_LDFLAGS = "${BUILDSDK_LDFLAGS}"
-
 #assign DPKG_ARCH
 DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH'), '')}"
 
Signature · 1 line
2.7.4