summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-03-01 13:58:15 +0100
committerPatrick Steinhardt <ps@pks.im>2017-03-01 13:58:15 +0100
commita02e8a388258d86c898d680e38897575f8de17ef (patch)
treef308d73472f4950bcd8e481c5a1f262925753140 /src/commit.c
parenta454641ee8b7b2ef1083b7f33d6135d87b50e9b0 (diff)
downloadlibgit2-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