Преглед изворни кода

Fix compilation of i386-nativent RTL

Pierre Muller пре 2 недеља
родитељ
комит
ea9999fb03
3 измењених фајлова са 4 додато и 4 уклоњено
  1. 1 1
      rtl/nativent/Makefile
  2. 1 1
      rtl/nativent/Makefile.fpc
  3. 2 2
      rtl/nativent/buildrtl.pp

+ 1 - 1
rtl/nativent/Makefile

@@ -925,7 +925,7 @@ ifeq ($(ARCH),i386)
 CPU_UNITS=$(CPUUNIT) $(MMXUNIT) $(INTRINSICSUNIT)
 endif
 ifeq ($(ARCH),x86_64)
-CPU_UNITS=$(X86UNIT) $(CPUUNIT)
+CPU_UNITS=$(CPUUNIT) $(INTRINSICSUNIT)
 endif
 DLLS=fpcmemdll
 OBJPASDIR=$(RTL)/objpas

+ 1 - 1
rtl/nativent/Makefile.fpc

@@ -59,7 +59,7 @@ CPU_UNITS=$(CPUUNIT) $(MMXUNIT) $(INTRINSICSUNIT)
 endif
 
 ifeq ($(ARCH),x86_64)
-CPU_UNITS=$(X86UNIT) $(CPUUNIT)
+CPU_UNITS=$(CPUUNIT) $(INTRINSICSUNIT)
 endif
 
 DLLS=fpcmemdll

+ 2 - 2
rtl/nativent/buildrtl.pp

@@ -9,10 +9,10 @@ unit buildrtl;
       rtlconsts, sysconst, sysutils, math, types,
       typinfo, fgl, classes,
 {$ifdef cpui386}
-      mmx, cpu,
+      mmx, cpu, intrinsics,
 {$endif}
 {$ifdef cpux86_64}
-      cpu,
+      cpu, intrinsics,
 {$endif}
       charset, cpall, getopts,
       character, fpwidestring, unicodedata,