]> code.ossystems Code Review - openembedded-core.git/commit
meson.bbclass: compile with --buildtype plain
authorMartin Kelly <mkelly@xevo.com>
Wed, 17 Jan 2018 19:22:55 +0000 (11:22 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Jan 2018 12:18:04 +0000 (12:18 +0000)
commit73ff85986d82c8da601d7c7cf9a02961f2f66a09
tree481d42e4fc35e576d90745fc609425f7b1e804e0
parent9e58926f1cea9d5cb18cb923855d1ae98f88a8ac
meson.bbclass: compile with --buildtype plain

OE manages all the compile flags, so we don't want meson to inject its
own flags. Currently, it's injecting -O0 and causing build breaks when
security flags are enabled (because _FORTIFY_SOURCE requires an
optimized build and meson defaults to a debug -O0 build).

Add --buildtype plain so meson will not add its own optimization flags.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/meson.bbclass