Commit Graph

11 Commits (8e360aa97ffff77a2d3c83c175f6bed7b67a9dcc)

Author SHA1 Message Date
René Kijewski d0294dd70e make: enable `assert()` in `make scan-build`
Compare scan-build's [documentation][1]:

> ALWAYS analyze a project in its "debug" configuration
>
> Most projects can be built in a "debug" mode that enables assertions.
> Assertions are picked up by the static analyzer to prune infeasible
> paths, which in some cases can greatly reduce the number of false
> positives (bogus error reports) emitted by the tool.

Closes #3960.

  1: http://clang-analyzer.llvm.org/scan-build.html#recommended_debug
8 years ago
Oleg Hahm 1f9e69af1b make: enable assert only if DEVELHELP is set 8 years ago
Joakim Gebart eb81139161 Makefile.cflags: Enable all warnings by default 8 years ago
Joakim Gebart 1c45f20004 Makefile.cflags: Add warning for LTO 8 years ago
Joakim Gebart 8d68afa6e6 Makefile: Add ARFLAGS for overriding command line options to `ar`
- Makefile.base: Respect ARFLAGS when building static archives.
 - Makefile.cflags: Add default ARFLAGS.
 - Makefile.vars: Add description for ARFLAGS.
8 years ago
Joakim Gebart 669a4129af Makefile.cflags: Add -fno-common by default to CFLAGS. 8 years ago
Kaspar Schleiser 9cf054fe96 make: optionally add gcc lto flags
This commit enables building using link time optimization when
specifying "LTO=yes" in the application's Makefile.
9 years ago
René Kijewski 9f5b65166a make: del no-delete-null-pointer-checks for clang++
This PR enables the use of clang++ to compile C++ projects by adding
`CXXUWFLAGS += -fno-delete-null-pointer-checks`, if `${CC}` understands
`-fno-delete-null-pointer-checks` but `${CXX}` does not.
9 years ago
Pham Huu Dang Nhat f7398f61ff Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files. 9 years ago
René Kijewski 8b34e8637d make: fast out on old-style function definitions 9 years ago
René Kijewski 073bdfe9ec make: add own file for CFLAGS feature tests 9 years ago