[oe-commits] [meta-openembedded] 32/53: meson: set native tool flag variables

git at git.openembedded.org git at git.openembedded.org
Sat Jul 1 08:00:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

commit 6fb9a9e7a2288d8cef253beb6c5ad0a7e5daa669
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jun 26 16:11:17 2017 +0100

    meson: set native tool flag variables
    
    As well as setting CC/CXX, export CFLAGS/CXXFLAGS and so on.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/classes/meson.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index b5b2b3b..7eeff42 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -10,9 +10,13 @@ do_configure[cleandirs] = "${B}"
 MESON_SOURCEPATH = "${S}"
 
 # These variables in the environment override the *native* tools, not the cross.
+export CPPFLAGS = "${BUILD_CPPFLAGS}"
 export CC = "${BUILD_CC}"
+export CFLAGS = "${BUILD_CFLAGS}"
 export CXX = "${BUILD_CXX}"
+export CXXFLAGS = "${BUILD_CXXFLAGS}"
 export LD = "${BUILD_LD}"
+export LDFLAGS = "${BUILD_LDFLAGS}"
 export AR = "${BUILD_AR}"
 export PKG_CONFIG = "pkg-config-native"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list