summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-06-26 16:11:17 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-01 09:59:26 +0200
commit6fb9a9e7a2288d8cef253beb6c5ad0a7e5daa669 (patch)
treeaab595fe2e42d345d719e6efc99efc2065604a75 /meta-oe
parent529ae57ac9a8997cbbce9614ca036e4b631bd7ef (diff)
downloadmeta-openembedded-6fb9a9e7a2288d8cef253beb6c5ad0a7e5daa669.tar.gz
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@intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/classes/meson.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index b5b2b3b7e..7eeff4210 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -10,9 +10,13 @@ do_configure[cleandirs] = "${B}"
10MESON_SOURCEPATH = "${S}" 10MESON_SOURCEPATH = "${S}"
11 11
12# These variables in the environment override the *native* tools, not the cross. 12# These variables in the environment override the *native* tools, not the cross.
13export CPPFLAGS = "${BUILD_CPPFLAGS}"
13export CC = "${BUILD_CC}" 14export CC = "${BUILD_CC}"
15export CFLAGS = "${BUILD_CFLAGS}"
14export CXX = "${BUILD_CXX}" 16export CXX = "${BUILD_CXX}"
17export CXXFLAGS = "${BUILD_CXXFLAGS}"
15export LD = "${BUILD_LD}" 18export LD = "${BUILD_LD}"
19export LDFLAGS = "${BUILD_LDFLAGS}"
16export AR = "${BUILD_AR}" 20export AR = "${BUILD_AR}"
17export PKG_CONFIG = "pkg-config-native" 21export PKG_CONFIG = "pkg-config-native"
18 22