[oe-commits] [meta-openembedded] 38/65: meson: set native tool flag variables
git at git.openembedded.org
git at git.openembedded.org
Thu Jun 29 15:21:17 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 917833882fdebb9c684b0192cad569aed352eaa6
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