diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-08-04 16:22:58 +0300 |
---|---|---|
committer | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-08-04 16:22:58 +0300 |
commit | 0b50f754636c4162d34ea22661f490feb7b07e5e (patch) | |
tree | e8bbffdd166bed81be7252326a9c6837aa41a942 /meta-oe/classes/meson.bbclass | |
parent | acf849545abe53f2feb304c308a0aa79464e5a27 (diff) | |
download | meta-openembedded-contrib-0b50f754636c4162d34ea22661f490feb7b07e5e.tar.gz |
meson: do not set environment variables to native build tools
Doing so greatly confuses gtk-doc, and does not seem to be necessary
anyway.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-oe/classes/meson.bbclass')
-rw-r--r-- | meta-oe/classes/meson.bbclass | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass index 7119655e8d..6f520b870d 100644 --- a/meta-oe/classes/meson.bbclass +++ b/meta-oe/classes/meson.bbclass @@ -9,16 +9,6 @@ do_configure[cleandirs] = "${B}" # Where the meson.build build configuration is 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 LDFLAGS = "${BUILD_LDFLAGS}" -export AR = "${BUILD_AR}" -export PKG_CONFIG = "pkg-config-native" - def noprefix(var, d): return d.getVar(var, True).replace(d.getVar('prefix', True) + '/', '', 1) |