aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 01:22:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 01:22:09 +0000
commitec5b59845b21d6db07e5b59a087fd40ed5476551 (patch)
tree38613f139a45bebd54efb87e5733819c69d4ad14
parentde983842ea30233c74c737edd281052912e5f7f0 (diff)
parentdd55bb5b4b5eda54b8241811b6aa44bb71ee3c05 (diff)
downloadstrace-android14-mainline-networking-release.tar.gz
Change-Id: I93a3990d061493840f917149ab2fbbcc79696964
-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"],