James Prestwood
d802762be1
build: ignore unknown warnings/pragmas for CC=clang
...
IWD uses a few pragmas to ignore warnings which clang does
not support. For -Werror builds these cause build failures
but can be fixed by ignoring unknown warnings and pragmas.
2022-06-29 10:49:37 -05:00
Marcel Holtmann
80db8fd86c
build: Use -Wvariadic-macros warning
2019-03-28 09:13:26 +01:00
Denis Kenzior
3063c4968a
build: Add support for various sanitizers
...
Shamelessly stolen from the ell build system. Credit goes to:
Mat Martineau <mathew.j.martineau@linux.intel.com>
2019-01-11 11:32:54 -06:00
Marcel Holtmann
18b4f8b359
build: Enable -Wformat -Wformat-security compiler warnings
2018-12-07 10:05:51 +01:00
Marcel Holtmann
78bb325d3b
build: Add -fno-exceptions to compiler flags
2018-10-04 10:28:02 +02:00
Markus Ongyerth
e2074678a3
autotools: Only use -Wcast-align with gcc
...
-Wcast-align currently breaks compilation with clang.
There's a more details about it on the ell mailing list.
2016-12-19 11:02:50 -06:00
Denis Kenzior
2c0e997ee8
build: Avoid redefining _FORTIFY_SOURCE
...
Gentoo (and others) define _FORTIFY_SOURCE=2 by default. Since we
always define it as well, this results in redefinition warnings &
configure failure.
2014-08-01 09:52:36 -05:00
Marcel Holtmann
c11be930ea
build: Use default compiler flags
2014-07-15 22:18:59 +02:00