embeddedartistry / libc

libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
MIT License
504 stars 67 forks source link

Fix `DEBUG=1` mode #151

Closed noahp closed 3 years ago

noahp commented 3 years ago

Summary

On my ubuntu 18.04 image, enabling the DEBUG=1 flag to debug the library fails to build with this error message:

meson.build:1:0: ERROR: Value true -Doptimization=g is not boolean (true or false).

Removing the single quotes enables the build to proceed!

Testing

This patch doesn't add a build step to verify the DEBUG=1 mode is still working, so just tested locally!