From ad957523da2415ec967c2616812187682655ec14 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Thu, 20 Aug 2020 13:34:13 +0200 Subject: [PATCH] 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. --- makefile | 7 +++++++ 1 file changed, 7 insertions(+) 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