diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-05 20:42:31 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-03-13 00:01:47 +0000 |
commit | 5b8889ce6b4661a14e79c6103fdd0eaf57a872b0 (patch) | |
tree | e095961d3338933c4668598eede251049d5fe3a5 /COPYING | |
parent | 7d648b46579a557bd6bd96fceaf2f8c53b10cb1b (diff) |
configure: add --enable-werror
Provide a sane means of adding the -Werror compiler flag.
Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"',
but that actually *overwrites* all the other CFLAGS we might want to have set.
Maintain these exceptions from -Werror:
a) deprecation (allow upstream to mark deprecation without breaking builds);
b) "#warning" pragmas (allow to remind ourselves of errors without breaking
builds)
As a last configure step before generating the output files, print the complete
CFLAGS and CPPFLAGS by means of AC_MSG_RESULT.
Change-Id: I5b37602a117350159183fb53ac330294b94f4195
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions