[gnome-continuous-yocto/gnomeostree-3.28-rocko: 7824/8267] cross-canadian.bbclass: drop TARGET_* flags overrides



commit 7846fc222b7d1480c940a3671a1b32a70a0cb16f
Author: Ming Liu <liu ming50 gmail com>
Date:   Sun Sep 17 11:53:43 2017 +0200

    cross-canadian.bbclass: drop TARGET_* flags overrides
    
    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.
    
    (From OE-Core rev: 44160df561a1b10b4c7a74558bdfe6b58ee0a9ec)
    
    Signed-off-by: Ming Liu <liu ming50 gmail com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/cross-canadian.bbclass |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass
index 69cbe90..1928455 100644
--- a/meta/classes/cross-canadian.bbclass
+++ b/meta/classes/cross-canadian.bbclass
@@ -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'), '')}"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]