summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Julian Sikorski <belegdol+github@gmail.com>2020-08-20 13:34:13 +0200
committer Julian Sikorski <belegdol+github@gmail.com>2020-08-20 18:51:47 +0200
commitad957523da2415ec967c2616812187682655ec14 (patch)
treeabf924e12e2d6af49eba497a4dd1c8f776f3596b
parent021cbbc9d91d0a055f102845c14259b4f12289df (diff)
Pass FORCE_C_DRC_BACKEND=1 on ppc architectures
PowerPC architecture is special in a way that it has some inline assembly code but no DRC support. As a result, NOASM=1 was never configured. In contrast to the old DRC, asmjit only compiles on the architectures it supports. FORCE_C_DRC_BACKEND=1 needs to be passed to the makefile or the compilation will fail.
-rw-r--r--makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/makefile b/makefile
index 656ff09abad..cc77703aa80 100644
--- a/makefile
+++ b/makefile
@@ -392,6 +392,13 @@ ifndef NOASM
endif
endif
+# ppc has inline assembly support but no DRC
+ifeq ($(findstring ppc,$(UNAME)),ppc)
+ifndef FORCE_DRC_C_BACKEND
+ FORCE_DRC_C_BACKEND := 1
+endif
+endif
+
# Autodetect BIGENDIAN
# MacOSX
ifndef BIGENDIAN