diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-05 20:44:29 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2018-03-13 00:03:52 +0000 |
commit | 5926e840ccdea595fb63e0a51e3069882e4ce73c (patch) | |
tree | 3640cc1dd181afe9e9b4f19ff764e71cb0afe2d9 /tests | |
parent | 24bb74732e9015d179462d9fab28dbb284f0366c (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: Ifea235feb073a276302436936e908d9125c77a82
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions