[oe-commits] [openembedded-core] 21/32: meson.bbclass: compile with --buildtype plain
git at git.openembedded.org
git at git.openembedded.org
Thu Jan 18 23:32:34 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 77e4c43b8982d874a14769ea8f392c226d7ee50d
Author: Martin Kelly <mkelly at xevo.com>
AuthorDate: Wed Jan 17 11:22:55 2018 -0800
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 at xevo.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/classes/meson.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 4a4c51f..f9cee00 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -13,6 +13,7 @@ def noprefix(var, d):
return d.getVar(var).replace(d.getVar('prefix') + '/', '', 1)
MESONOPTS = " --prefix ${prefix} \
+ --buildtype plain \
--bindir ${@noprefix('bindir', d)} \
--sbindir ${@noprefix('sbindir', d)} \
--datadir ${@noprefix('datadir', d)} \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list