[riot-notifications] [RIOT-OS/RIOT] makefiles: do not remove defines from CFLAGS (#12262)
notifications at github.com
Tue Sep 17 15:47:42 CEST 2019
### Contribution description
Do not remove the '-D' and '-U' values from CFLAGS.
This prevents issues where a '-D' could contain a space.
Some values way be duplicated from the 'riotbuild.h' header and the
command line but with the same value so without conflict.
To not put too many things in the command line, the -DMODULE_NAME are
only put in CFLAGS_WITH_MACROS.
Also, as now, the deferred value of CFLAGS is used for 'riotbuild.h',
macros set after the inclusion of `Makefile.include` will be taken into
### Testing procedure
Test if it fixes
### Issues/PRs references
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* makefiles: do not remove defines from CFLAGS
-- File Changes --
M Makefile.include (8)
M makefiles/modules.inc.mk (2)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications