1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Joakim Nohlgård
0ff7652bd6 Makefile.cflags: Make LTO a warning instead of info
(fixes problems with info-boards-supported etc)
2016-08-10 16:19:16 +02:00
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
2015-09-24 23:51:05 +02:00
Oleg Hahm
1f9e69af1b make: enable assert only if DEVELHELP is set 2015-07-23 09:21:36 +02:00
Joakim Gebart
eb81139161 Makefile.cflags: Enable all warnings by default 2015-07-14 08:11:14 +02:00
Joakim Gebart
1c45f20004 Makefile.cflags: Add warning for LTO 2015-07-13 15:36:44 +02:00
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.
2015-02-08 20:08:19 +01:00
Joakim Gebart
669a4129af Makefile.cflags: Add -fno-common by default to CFLAGS. 2015-01-26 09:13:12 +01:00
9cf054fe96 make: optionally add gcc lto flags
This commit enables building using link time optimization when
specifying "LTO=yes" in the application's Makefile.
2015-01-08 15:59:54 +01:00
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.
2014-09-28 14:56:29 +02:00
Pham Huu Dang Nhat
f7398f61ff Changed RIOT/Makefile.include, Makefile.base, Makefile.cflags, and native/Makefile.include to compile C and C++ files. 2014-06-25 22:26:10 +07:00
René Kijewski
8b34e8637d make: fast out on old-style function definitions 2014-05-12 21:57:09 +02:00
René Kijewski
073bdfe9ec make: add own file for CFLAGS feature tests 2014-05-12 21:57:09 +02:00