Andreas Schneider
|
9c0875dd5d
|
cmake: Use -Wpedantic and remove -pedantic-errors
We get -Werror if -DPICKY_DEVELOPER=ON is set.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit bfd33ecf29)
|
2018-09-06 09:25:03 +02:00 |
|
Andreas Schneider
|
e1fbc02209
|
cmake: Add -fstack-clash-protection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 9a3f43f4ee)
|
2018-09-03 15:43:04 +02:00 |
|
Andreas Schneider
|
3c4403c400
|
cmake: Use -fstack-protector-strong if possible
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit fc212d73ed)
|
2018-08-31 14:30:53 +02:00 |
|
Andreas Schneider
|
0db13661b4
|
cmake: Improve compiler flag detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit a97e227a9d)
|
2018-08-24 07:53:20 +02:00 |
|
Andreas Schneider
|
eb90325bed
|
cmake: Allow zero for variadic macro argument
This is also needed for clang.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 4ae7e35d9c)
|
2018-08-23 22:41:25 +02:00 |
|
Andreas Schneider
|
455b3a7865
|
cmake: Set -D_FORTIFY_SOURCE=2 if possible
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 5e9435924c)
|
2018-08-22 09:08:19 +02:00 |
|
Andreas Schneider
|
decbadda45
|
cmake: Add support for picky developer flags
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit 8855a140cf)
|
2018-08-20 18:43:22 +02:00 |
|
Andreas Schneider
|
f00d780c16
|
cmake: Improve compiler flag detection
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit a9a99fb31f)
|
2018-08-20 18:43:20 +02:00 |
|