about summary refs log tree commit diff
path: root/custom_mutators/libprotobuf-mutator-example/Android.bp
diff options
context:
space:
mode:
authorJiangen Jiao <joeyjiaojg@qq.com>2021-03-25 12:29:27 +0800
committerJiangen Jiao <joeyjiaojg@qq.com>2021-03-25 20:40:31 +0800
commitc89264205779635ec43f2913a94fa3ae5e6a5186 (patch)
tree08c6e93f8ad85eb2e05963a038ab289312033d38 /custom_mutators/libprotobuf-mutator-example/Android.bp
parent2dac4e785fa9f27e8c59bb504cfa8942eba938be (diff)
downloadafl++-c89264205779635ec43f2913a94fa3ae5e6a5186.tar.gz
android: support host and target 32bit build
Diffstat (limited to 'custom_mutators/libprotobuf-mutator-example/Android.bp')
-rw-r--r--custom_mutators/libprotobuf-mutator-example/Android.bp6
1 files changed, 6 insertions, 0 deletions
diff --git a/custom_mutators/libprotobuf-mutator-example/Android.bp b/custom_mutators/libprotobuf-mutator-example/Android.bp
index 01f1c23e..4f579735 100644
--- a/custom_mutators/libprotobuf-mutator-example/Android.bp
+++ b/custom_mutators/libprotobuf-mutator-example/Android.bp
@@ -8,6 +8,7 @@ cc_library_shared {
     "-O0",
     "-fPIC",
     "-Wall",
+    "-Wno-unused-parameter",
   ],
 
   srcs: [
@@ -29,4 +30,9 @@ cc_binary {
   srcs: [
     "vuln.c",
   ],
+
+  cflags: [
+    "-Wno-unused-result",
+    "-Wno-unused-parameter",
+  ],
 }