diff options
author | Ross Burton <ross.burton@intel.com> | 2017-06-26 16:11:17 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-01 09:59:26 +0200 |
commit | 6fb9a9e7a2288d8cef253beb6c5ad0a7e5daa669 (patch) | |
tree | aab595fe2e42d345d719e6efc99efc2065604a75 /meta-oe | |
parent | 529ae57ac9a8997cbbce9614ca036e4b631bd7ef (diff) | |
download | meta-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.bbclass | 4 |
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}" | |||
10 | MESON_SOURCEPATH = "${S}" | 10 | MESON_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. |
13 | export CPPFLAGS = "${BUILD_CPPFLAGS}" | ||
13 | export CC = "${BUILD_CC}" | 14 | export CC = "${BUILD_CC}" |
15 | export CFLAGS = "${BUILD_CFLAGS}" | ||
14 | export CXX = "${BUILD_CXX}" | 16 | export CXX = "${BUILD_CXX}" |
17 | export CXXFLAGS = "${BUILD_CXXFLAGS}" | ||
15 | export LD = "${BUILD_LD}" | 18 | export LD = "${BUILD_LD}" |
19 | export LDFLAGS = "${BUILD_LDFLAGS}" | ||
16 | export AR = "${BUILD_AR}" | 20 | export AR = "${BUILD_AR}" |
17 | export PKG_CONFIG = "pkg-config-native" | 21 | export PKG_CONFIG = "pkg-config-native" |
18 | 22 | ||