From 70ca3c816f33fbad41bfe4413c1fef34771c9ee6 Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Sat, 17 Dec 2022 12:12:48 +0100 Subject: [PATCH] Add cpu and mmx to CPU_UNITS for i386-wince target (cherry picked from commit 355c63beb1dc34299d9a33a8cdc71a7094d37ec2) --- rtl/wince/Makefile.fpc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtl/wince/Makefile.fpc b/rtl/wince/Makefile.fpc index 42f405a3ab..685f972c84 100644 --- a/rtl/wince/Makefile.fpc +++ b/rtl/wince/Makefile.fpc @@ -7,7 +7,7 @@ main=rtl [target] units=$(SYSTEMUNIT) uuchar fpintres ctypes objpas macpas iso7185 extpas strings \ - lineinfo heaptrc \ + $(CPU_UNITS) lineinfo heaptrc \ windows messages dynlibs \ dos \ rtlconsts sysconst sysutils \ @@ -62,6 +62,10 @@ UNITPREFIX=rtl SYSTEMUNIT=system PRT0=wprt0 +ifeq ($(ARCH),i386) +CPU_UNITS=cpu mmx +endif + # Use new feature from 1.0.5 version # that generates release PPU files # which will not be recompiled