diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 2560c40f0fb72164bc4324b546d03d9d737f1a5b..528d792e6162bf817430044e2f8b985293d5ed37 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -6,6 +6,8 @@
 
 COMMON_PATH := device/xiaomi/sm6250-common
 
+BUILD_BROKEN_DUP_RULES := true
+
 # Architecture
 TARGET_ARCH := arm64
 TARGET_ARCH_VARIANT := armv8-a