diff options
author | Ross Burton <ross.burton@intel.com> | 2018-09-25 14:43:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-25 23:15:49 +0100 |
commit | feb5e7ed50dc39f3a2fef37cc198543e0dc77344 (patch) | |
tree | 5d7f5e07ca3ac2f872a79370b3ccac87843777e4 /meta/recipes-devtools | |
parent | 16729efc18ae7b3e4e666672556f23a27330cbd6 (diff) | |
download | poky-feb5e7ed50dc39f3a2fef37cc198543e0dc77344.tar.gz |
meson: stop Meson using target CFLAGS in native builds
With the goal of autoconf-compatibility Meson respects $CFLAGS et al in builds.
In cross-compiled build the cross file is the one true source of flags and the
environment isn't used, but in a native build the environment will still be
respected.
As this can lead to target flags being used in the build for native binaries
(including a single native binary inside a target recipe), export
CFLAGS=${BUILD_CFLAGS) et al.
(From OE-Core rev: 4ca0002860dca771836c0ce1c7a92b79a5f2db3f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
0 files changed, 0 insertions, 0 deletions