1diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp
2index 24d819e93ff2..bdb1bee13bde 100644
3--- a/libs/hwui/Android.bp
4+++ b/libs/hwui/Android.bp
5@@ -31,7 +31,9 @@ cc_defaults {
6         // TODO: Linear blending should be enabled by default, but we are
7         // TODO: making it an opt-in while it's a work in progress
8         //"-DANDROID_ENABLE_LINEAR_BLENDING",
9+        CFLAGS_FOR_BENCH_SUITE
10     ],
11+    ldflags: [LDFLAGS_FOR_BENCH_SUITE],
12
13     include_dirs: [
14         "external/skia/include/private",
15