Skip to content

Commit d0c531d

Browse files
committed
Android.bp: Remove -Werror and include more cflags
Somehow without these it got built on 14, might be because of newer clang Signed-off-by: hmtheboy154 <[email protected]>
1 parent 7dec734 commit d0c531d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Android.bp

+8-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,14 @@ common_cflags = [
3838
"-fno-use-cxa-atexit",
3939
"-fexceptions",
4040
"-fcheck-new",
41-
"-Werror",
41+
"-Wno-unused-function",
42+
"-Wno-unused-label",
43+
"-Wno-unused-lambda-capture",
44+
"-Wno-unused-parameter",
45+
"-Wno-unused-private-field",
46+
"-Wno-unused-variable",
47+
"-Wno-unused-value",
48+
"-Wno-missing-field-initializers",
4249
"-Wno-unknown-pragmas",
4350
"-Wno-comments",
4451
"-Wno-attributes",

0 commit comments

Comments
 (0)