[OE-core] [PATCH 1/8] [autotools] export CCLD_FOR_BUILD

Jérémy Rosen jeremy.rosen at smile.fr
Tue Aug 23 07:25:22 UTC 2016


The autotools class already export most *_FOR_BUILD from bitbake's
BUILD_* variables. Somehow the variable CCLD_FOR_BUILD was missing

At least libpcre uses that variable and will use gcc instead of BUILD_CCLD
to link binaries

Signed-off-by: Jérémy Rosen <jeremy.rosen at smile.fr>
---
 meta/classes/autotools.bbclass | 2 ++
 1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 076899c..9041021 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -49,6 +49,8 @@ export CXXFLAGS_FOR_BUILD="${BUILD_CXXFLAGS}"
 export LD_FOR_BUILD = "${BUILD_LD}"
 export LDFLAGS_FOR_BUILD = "${BUILD_LDFLAGS}"
 
+export CCLD_FOR_BUILD = "${BUILD_CCLD}"
+
 def append_libtool_sysroot(d):
     # Only supply libtool sysroot option for non-native packages
     if not bb.data.inherits_class('native', d):
-- 
git-series 0.8.9



More information about the Openembedded-core mailing list