[riot-notifications] [RIOT] Allow change of optimization level for debugging (#3759)

Kaspar Schleiser notifications at github.com
Fri Sep 4 14:34:50 CEST 2015


> Will that cause two separate -O calls?

CFLAGS_OPT is conditionally assigned using ```?=``` like this:
``` CFLAGS_OPT ?= -Os ```

So if it is not set, it will get -Os assigned, otherwise it keeps whatever was assigned before.
You can easily override that, like when building:
```# CFLAGS_OPT=-Og make clean all```

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3759#issuecomment-137724993
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150904/0e286a7d/attachment.html>


More information about the notifications mailing list