./trunk/gcc215_32/vcs_diff_compiler.patch 2026-03-08-00:37
> uname -a SunOS s11-i386.cfarm 5.11 11.4.90.214.1 i86pc i386 i86pc kernel-zone
diff --git a/compiler/Makefile b/compiler/Makefile index 2868f2be73..160bd59e64 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -655,9 +655,6 @@ ifdef LLVM ifeq ($(findstring $(PPC_TARGET),x86_64 aarch64 arm),) $(error The $(PPC_TARGET) architecture is not (yet) supported by the FPC/LLVM code generator) endif -ifeq ($(findstring $(OS_TARGET),darwin iphonesim linux openbsd),) -$(error The $(OS_TARGET) target OS is not (yet) supported by the FPC/LLVM code generator) -endif override LOCALOPT+=-dllvm -Fullvm endif ifeq ($(PPC_TARGET),i386) diff --git a/compiler/Makefile.fpc b/compiler/Makefile.fpc index 756a8a7806..167412acad 100644 --- a/compiler/Makefile.fpc +++ b/compiler/Makefile.fpc @@ -386,9 +386,10 @@ ifeq ($(findstring $(PPC_TARGET),x86_64 aarch64 arm),) $(error The $(PPC_TARGET) architecture is not (yet) supported by the FPC/LLVM code generator) endif -ifeq ($(findstring $(OS_TARGET),darwin iphonesim linux openbsd),) -$(error The $(OS_TARGET) target OS is not (yet) supported by the FPC/LLVM code generator) -endif +# No need to prevent cross-OS compilation +#ifeq ($(findstring $(OS_TARGET),darwin iphonesim linux openbsd),) +#$(error The $(OS_TARGET) target OS is not (yet) supported by the FPC/LLVM code generator) +#endif override LOCALOPT+=-dllvm -Fullvm endif