aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:57:45 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:57:45 +0000
commite47db904856eed66ecf5427fe63edf25a2765a8c (patch)
tree38613f139a45bebd54efb87e5733819c69d4ad14
parent8f75de29574f78aeab6f90c43760f072454c2e65 (diff)
parentdd55bb5b4b5eda54b8241811b6aa44bb71ee3c05 (diff)
downloadstrace-e47db904856eed66ecf5427fe63edf25a2765a8c.tar.gz
Change-Id: I57678e69ba7496da9470ea2f9fcc39cc9dd9cd27
-rw-r--r--Android.bp10
1 files changed, 10 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 801cffa3..2bcca569 100644
--- a/Android.bp
+++ b/Android.bp
@@ -170,6 +170,7 @@ cc_binary {
"renameat.c",
"resource.c",
"retval.c",
+ "riscv.c",
"rtc.c",
"rtnl_addr.c",
"rtnl_addrlabel.c",
@@ -252,6 +253,7 @@ cc_binary {
"-Werror",
"-Wno-initializer-overrides",
"-Wno-missing-field-initializers",
+ "-Wno-nonnull",
"-Wno-pointer-arith",
"-Wno-unused-parameter",
"-Wno-sign-compare",
@@ -292,6 +294,14 @@ cc_binary {
"linux",
],
},
+ riscv64: {
+ cflags: ["-DRISCV=1"],
+
+ local_include_dirs: [
+ "linux/riscv",
+ "linux",
+ ],
+ },
x86: {
cflags: ["-DI386=1"] + ["-DHAVE_STRUCT___OLD_KERNEL_STAT=1"],