meson: Set default buildtype to debugoptimized

In general, turning on optimization tends to find more code issues
and is closer to how Yocto builds the code.  Set 'debugoptimized'
as the default buildtype.

debugoptimized will compile slightly slower, but developers won't
encounter issues where it works on their system but doesn't work on
CI as often.

Done in sdbusplus here:
https://github.com/openbmc/sdbusplus/commit/feb4847245830ad41878851987b59ba837434e3a

Put default_options in alphabetical order for easier scanning.

Tested: Built the code in an sdk.
Change-Id: I790f32a0ceb1c1cc2464bbb2ad818007b4ed1944
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
1 file changed