Andreas Schneider
|
ab26db203e
|
cmake: Add -Wsign-compare to CFLAGS
Fixes T188
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
|
2019-12-09 16:08:03 +01:00 |
|
Andreas Schneider
|
0ceda043ce
|
cmake: Add -Wmissing-field-initializers compile flag
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2019-01-22 13:12:25 +01:00 |
|
Andreas Schneider
|
a80caec19b
|
cmake: Disable deprecation warnings for old known_hosts API
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-10-16 08:56:46 +02:00 |
|
Andreas Schneider
|
d6b6fff7f7
|
cmake: Only check for -Wno-gnu-zero-variadic-macro-arguments with clang
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-10-16 08:46:25 +02:00 |
|
Andreas Schneider
|
3d74c3802e
|
cmake: Also add DEFAULT_LINK_FLAGS for Solaris
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-09-26 16:53:29 +02:00 |
|
Andreas Schneider
|
bfd33ecf29
|
cmake: Use -Wpedantic and remove -pedantic-errors
We get -Werror if -DPICKY_DEVELOPER=ON is set.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-09-06 08:28:24 +02:00 |
|
Andreas Schneider
|
9a3f43f4ee
|
cmake: Add -fstack-clash-protection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-09-03 14:18:25 +02:00 |
|
Andreas Schneider
|
fc212d73ed
|
cmake: Use -fstack-protector-strong if possible
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-31 14:18:34 +02:00 |
|
Andreas Schneider
|
a97e227a9d
|
cmake: Improve compiler flag detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-24 07:51:00 +02:00 |
|
Andreas Schneider
|
4ae7e35d9c
|
cmake: Allow zero for variadic macro argument
This is also needed for clang.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-23 22:33:29 +02:00 |
|
Andreas Schneider
|
5e9435924c
|
cmake: Set -D_FORTIFY_SOURCE=2 if possible
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-22 08:54:59 +02:00 |
|
Andreas Schneider
|
8855a140cf
|
cmake: Add support for picky developer flags
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-20 18:42:03 +02:00 |
|
Andreas Schneider
|
a9a99fb31f
|
cmake: Improve compiler flag detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
|
2018-08-20 18:42:03 +02:00 |
|