blob: 0681f6791ceaffc055f9cf313cc947cf74b25d9c [file] [log] [blame]
Saurabh Srivastava3f915282019-12-18 14:26:29 +05301GNSS_CFLAGS = [
2 "-Werror",
3 "-Wno-error=unused-parameter",
4 "-Wno-error=macro-redefined",
5 "-Wno-error=reorder",
6 "-Wno-error=missing-braces",
7 "-Wno-error=self-assign",
8 "-Wno-error=enum-conversion",
9 "-Wno-error=logical-op-parentheses",
10 "-Wno-error=null-arithmetic",
11 "-Wno-error=null-conversion",
12 "-Wno-error=parentheses-equality",
13 "-Wno-error=undefined-bool-conversion",
14 "-Wno-error=tautological-compare",
15 "-Wno-error=switch",
16 "-Wno-error=date-time",
17]
18
Saurabh Srivastava3f915282019-12-18 14:26:29 +053019/* Activate the following for debug purposes only,
20 comment out for production */
21GNSS_SANITIZE_DIAG = {
22/*
23 diag: {
24 cfi: true,
25 misc_undefined: [
Saurabh Srivastava3f915282019-12-18 14:26:29 +053026 "bounds",
27 "null",
28 "unreachable",
29 "integer",
30 ],
31 },
32*/
33}