Browse Source

Add cpu and mmx to CPU_UNITS for i386-wince target

Pierre Muller 2 years ago
parent
commit
355c63beb1
1 changed files with 5 additions and 1 deletions
  1. 5 1
      rtl/wince/Makefile.fpc

+ 5 - 1
rtl/wince/Makefile.fpc

@@ -7,7 +7,7 @@ main=rtl
 
 
 [target]
 [target]
 units=$(SYSTEMUNIT) uuchar fpintres ctypes objpas macpas iso7185 extpas strings \
 units=$(SYSTEMUNIT) uuchar fpintres ctypes objpas macpas iso7185 extpas strings \
-      lineinfo heaptrc \
+      $(CPU_UNITS) lineinfo heaptrc \
       windows messages dynlibs \
       windows messages dynlibs \
       dos \
       dos \
       rtlconsts sysconst sysutils \
       rtlconsts sysconst sysutils \
@@ -62,6 +62,10 @@ UNITPREFIX=rtl
 SYSTEMUNIT=system
 SYSTEMUNIT=system
 PRT0=wprt0
 PRT0=wprt0
 
 
+ifeq ($(ARCH),i386)
+CPU_UNITS=cpu mmx
+endif
+
 # Use new feature from 1.0.5 version
 # Use new feature from 1.0.5 version
 # that generates release PPU files
 # that generates release PPU files
 # which will not be recompiled
 # which will not be recompiled