diff --git a/debuggerd/Android.bp b/debuggerd/Android.bp
index 8a63f3f1233a34f8e654ff1f77b60e55489d258c..f0131b81a467f2aa538cfb5d125a9d99b6ec8717 100644
--- a/debuggerd/Android.bp
+++ b/debuggerd/Android.bp
@@ -9,6 +9,12 @@ cc_library_static {
     "-Os",
   ],
 
+  target: {
+    android64: {
+      cflags: ["-DTARGET_IS_64_BIT"],
+    },
+  },
+
   local_include_dirs: ["include"],
   export_include_dirs: ["include"],