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.
This commit is contained in:
Julian Sikorski 2020-08-20 13:34:13 +02:00
parent 021cbbc9d9
commit ad957523da

View File

@ -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