1diff --git a/compiler/Android.bp b/compiler/Android.bp
2index 2e60e7d658..51f20a86ef 100644
3--- a/compiler/Android.bp
4+++ b/compiler/Android.bp
5@@ -195,6 +195,9 @@ art_cc_defaults {
6     ],
7
8     export_include_dirs: ["."],
9+
10+    cflags: [CFLAGS_FOR_BENCH_SUITE],
11+    ldflags: [LDFLAGS_FOR_BENCH_SUITE],
12 }
13
14 gensrcs {
15