[riot-notifications] [RIOT] make: enable `assert()` in `make scan-build` (#3962)
Cenk Gündoğan
notifications at github.com
Fri Sep 25 00:12:49 CEST 2015
> @@ -70,7 +70,7 @@ scan-build-analyze: clean
> $(AD)mkdir -p '$(SCANBUILD_OUTPUTDIR)'
> $(AD)env -i $(ENVVARS) \
> scan-build -o '$(SCANBUILD_OUTPUTDIR)' $(SCANBUILD_ARGS) \
> - make -C $(CURDIR) all $(strip $(CMDVARS));
> + make -C $(CURDIR) all $(strip $(CMDVARS)) FORCE_ASSERTS=1;
Wouldn't CFLAGS += -DNDEBUG also work?
---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3962/files#r40380023
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150924/6efe643d/attachment.html>
More information about the notifications
mailing list