diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-03-01 13:58:15 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-03-01 13:58:15 +0100 |
commit | a02e8a388258d86c898d680e38897575f8de17ef (patch) | |
tree | f308d73472f4950bcd8e481c5a1f262925753140 /src/commit.c | |
parent | a454641ee8b7b2ef1083b7f33d6135d87b50e9b0 (diff) | |
download | libgit2-a02e8a388258d86c898d680e38897575f8de17ef.tar.gz |
cmake: only enable supported compiler warning flags
We currently unconditionally enable the "-Wall" and "-Wextra" flags.
Some platforms rely on compilers which do not support these flags,
though. One of these platforms is Haiku, which does not support
"-Wextra" due to being stuck on GCC version 2.
Fix builds on such platforms by adding these flags only if supported by
the compiler.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions