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:42 +0100 |
commit | 4ca0002860dca771836c0ce1c7a92b79a5f2db3f (patch) | |
tree | 5ad8dd595ff636307591484b776e8d5bcb8569e6 /scripts/lib/build_perf/html.py | |
parent | 2f9adf05efdddf8dae9c58976ae56cf32d9e57f0 (diff) | |
download | openembedded-core-4ca0002860dca771836c0ce1c7a92b79a5f2db3f.tar.gz openembedded-core-4ca0002860dca771836c0ce1c7a92b79a5f2db3f.tar.bz2 openembedded-core-4ca0002860dca771836c0ce1c7a92b79a5f2db3f.zip |
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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/html.py')
0 files changed, 0 insertions, 0 deletions