mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 08:00:52 +02:00
Allow compilation of i8086, i386 and x86_64 cross-compiler
if -dFPC_SOFT_FPUX80 option is used
Partial cherry pick from 85d19af48c
This commit is contained in:
parent
82c57e2deb
commit
2c23160571
@ -4454,12 +4454,14 @@ extcycle:
|
||||
$(MAKE) cycle OPT="$(OPT) -n -OG2p3 -glttt -CRriot -dEXTDEBUG" ALLOW_WARNINGS=1
|
||||
cvstest:
|
||||
$(MAKE) cycle 'LOCALOPT=-n -Se' 'RTLOPT=-n -Se'
|
||||
ifeq ($(findstring -dFPC_SOFT_FPUX80,$(LOCALOPT)),)
|
||||
ifeq ($(OS_SOURCE),win64)
|
||||
EXCLUDE_80BIT_TARGETS=1
|
||||
endif
|
||||
ifneq ($(findstring $(CPU_SOURCE),aarch64 arm avr jvm m68k mips mipsel powerpc powerpc64 sparc sparc64),)
|
||||
EXCLUDE_80BIT_TARGETS=1
|
||||
endif
|
||||
endif
|
||||
full: fullcycle
|
||||
fullcycle:
|
||||
$(MAKE) cycle
|
||||
|
@ -870,6 +870,7 @@ cvstest:
|
||||
# This is also the case for other CPUs that don't support
|
||||
# 80bit real type.
|
||||
|
||||
ifeq ($(findstring -dFPC_SOFT_FPUX80,$(LOCALOPT)),)
|
||||
ifeq ($(OS_SOURCE),win64)
|
||||
EXCLUDE_80BIT_TARGETS=1
|
||||
endif
|
||||
@ -877,6 +878,7 @@ endif
|
||||
ifneq ($(findstring $(CPU_SOURCE),aarch64 arm avr jvm m68k mips mipsel powerpc powerpc64 sparc sparc64),)
|
||||
EXCLUDE_80BIT_TARGETS=1
|
||||
endif
|
||||
endif
|
||||
|
||||
full: fullcycle
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user