File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,22 +3,23 @@ Common build configuration definitions.
33"""
44GFXSTREAM_COMMON_COPTS = [
55 "-Wall" ,
6- "-Werror" ,
76 "-Wextra" ,
87 "-Wformat" ,
8+ "-Wshadow" ,
9+ "-Wunused-result" ,
910 "-Wno-missing-field-initializers" ,
1011 "-Wno-return-type-c-linkage" ,
1112 "-Wno-unused-function" ,
1213 "-Wno-unused-parameter" ,
1314 "-Wno-unused-private-field" ,
1415 "-Wno-unused-variable" ,
15- "-Wshadow " ,
16- "-Wunused-result " ,
16+ "-Wno-thread-safety-analysis " ,
17+ "-Wno-thread-safety-attributes " ,
1718] + select ({
18- "//conditions:default" : [
19- "-Wno-thread-safety-analysis" ,
20- "-Wno-thread-safety-attributes" ,
19+ "@platforms//os:linux" : [
20+ "-Werror" ,
2121 ],
22+ "//conditions:default" : [],
2223})
2324GFXSTREAM_HOST_COPTS = GFXSTREAM_COMMON_COPTS + [
2425] + select ({
You can’t perform that action at this time.
0 commit comments