浏览代码

Add intrinsics unit dependency for classes for all CPU using compiler specific functions in SpinWait

Pierre Muller 2 天之前
父节点
当前提交
374ceceed0
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      rtl/inc/Makefile.rtl

+ 5 - 2
rtl/inc/Makefile.rtl

@@ -1052,8 +1052,11 @@ System.SysUtils$(PPUEXT) : $(NSINC)/System.SysUtils.pp $(SYSUTILS_DEPS)
 #
 # Classes
 #
-# aarch64 and arm classes unit needs intrinsics unit
-ifneq ($(findstring $(ARCH),aarch64 arm),)
+# Add intrinsics unit dependency for all CPUs
+# which use internal CPU dependent compiler inline number
+# as we plan to externalize all such inlined CPU functions
+# into intrinsics unit
+ifneq ($(findstring $(ARCH),aarch64 arm powerpc powerpc64 riscv64 riscv32 i386 x86_64),)
 CLASSES_DEPS_CPU:=$(CLASSES_DEPS_CPU) $(INTRINSICSUNIT)$(PPUEXT)
 endif