summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-03-13 21:56:01 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2021-03-13 21:56:01 +0000
commitb0a9fc7ea30bb6f9fdc714f74d50873e31056098 (patch)
treeed54b3fd6a2fcee49fac5eaf76562b55c551e8b7
parent947f1fbab48fb5e268866fef99a7e53111d777ab (diff)
downloadfpc-b0a9fc7ea30bb6f9fdc714f74d50873e31056098.tar.gz
+ added wasm32 to the list of targets that don't support a native compiler
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/wasm@48952 3ad0048d-3df7-0310-abae-a5850022a9f2
-rw-r--r--compiler/Makefile2
-rw-r--r--compiler/Makefile.fpc2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 6c0cc5293d..d04f0b1b1a 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -353,7 +353,7 @@ unexport FPC_VERSION FPC_COMPILERINFO
CYCLETARGETS=i386 powerpc sparc arm x86_64 powerpc64 m68k armeb mipsel mips avr jvm i8086 aarch64 sparc64 riscv32 riscv64 xtensa z80 wasm32
ALLTARGETS=$(CYCLETARGETS)
NO_NATIVE_COMPILER_OS_LIST=amstradcpc embedded freertos gba macosclassic msdos msxdos nds palmos symbian watcom wii win16 zxspectrum
-NO_NATIVE_COMPILER_CPU_LIST=avr i8086 jvm z80
+NO_NATIVE_COMPILER_CPU_LIST=avr i8086 jvm z80 wasm32
ifneq ($(CPU_SOURCE),$(CPU_TARGET))
ifneq ($(findstring $(CPU_TARGET),$(NO_NATIVE_COMPILER_CPU_LIST)),)
NoNativeBinaries=1
diff --git a/compiler/Makefile.fpc b/compiler/Makefile.fpc
index 38aa832ddf..2d88dc892d 100644
--- a/compiler/Makefile.fpc
+++ b/compiler/Makefile.fpc
@@ -40,7 +40,7 @@ ALLTARGETS=$(CYCLETARGETS)
# All OS targets that do not support native compiler
NO_NATIVE_COMPILER_OS_LIST=amstradcpc embedded freertos gba macosclassic msdos msxdos nds palmos symbian watcom wii win16 zxspectrum
# All CPU targets that do not support native compiler
-NO_NATIVE_COMPILER_CPU_LIST=avr i8086 jvm z80
+NO_NATIVE_COMPILER_CPU_LIST=avr i8086 jvm z80 wasm32
# Don't compile a native compiler & utilities for targets
# which do not support it