]> code.ossystems Code Review - openembedded-core.git/commitdiff
libpcre: explicitely specify CCLD_FOR_BUILD for this recipe
authorJérémy Rosen <jeremy.rosen@smile.fr>
Wed, 7 Sep 2016 09:08:49 +0000 (11:08 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2016 14:17:39 +0000 (15:17 +0100)
libpcre uses CCLD_FOR_BUILD as the name of the host command to use for
linking. This is not a standard autotools symbol but particular to this
recipe. We need to set it explicitely

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/libpcre/libpcre_8.39.bb

index 129076a7fc1e8fe764972235b4bec49a9e05ecc8..2d4668b52de0b62c70886bd820ffc687b035ee9b 100644 (file)
@@ -48,6 +48,8 @@ BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}"
 CFLAGS += "-D_REENTRANT"
 CXXFLAGS_append_powerpc = " -lstdc++"
 
+export CCLD_FOR_BUILD ="${BUILD_CCLD}"
+
 PACKAGES =+ "libpcrecpp libpcreposix pcregrep pcregrep-doc pcretest pcretest-doc"
 
 SUMMARY_libpcrecpp = "${SUMMARY} - C++ wrapper functions"