trunk/gcc215_32/vcs_diff_compiler.patch results

File details

./trunk/gcc215_32/vcs_diff_compiler.patch 2026-03-07-00:38

Used binaries

   

Binaries version

> uname -a
SunOS s11-i386.cfarm 5.11 11.4.90.214.1 i86pc i386 i86pc kernel-zone

Full file content

 
diff --git a/compiler/Makefile b/compiler/Makefile
index 520f7674dd..cd1f597f2b 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 b26072a617..e3c0232b0d 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