Skip to content

Commit 188f476

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 7a52777 commit 188f476

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Android.bp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ cc_library_shared {
108108
"-Winvalid-pch",
109109
"-DSYSCONFDIR=\"/vendor/etc\"",
110110
"-DLOG_TAG=\"libva\"",
111+
"-Wno-sign-compare",
112+
"-Wno-missing-field-initializers",
113+
"-Wno-unused-parameter",
111114
],
112115

113116
arch: {
@@ -145,6 +148,9 @@ cc_library_shared {
145148
"-Werror",
146149
"-Winvalid-pch",
147150
"-DLOG_TAG=\"libva-android\"",
151+
"-Wno-sign-compare",
152+
"-Wno-missing-field-initializers",
153+
"-Wno-unused-parameter",
148154
],
149155

150156
vendor: true,

0 commit comments

Comments
 (0)