aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:46:04 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 04:46:04 +0000
commit3bc525993ba8b9049e098b55482271bef7486501 (patch)
tree38613f139a45bebd54efb87e5733819c69d4ad14
parent2299ed7a58848a7a4ddcc5d36180563f3b2f12a6 (diff)
parentdd55bb5b4b5eda54b8241811b6aa44bb71ee3c05 (diff)
downloadstrace-3bc525993ba8b9049e098b55482271bef7486501.tar.gz
Change-Id: I641be3ba292e2b5ece0374d6402abed9e825f3a4
-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"],