diff options
author | 2020-08-20 13:34:13 +0200 | |
---|---|---|
committer | 2020-08-20 18:51:47 +0200 | |
commit | ad957523da2415ec967c2616812187682655ec14 (patch) | |
tree | abf924e12e2d6af49eba497a4dd1c8f776f3596b | |
parent | 021cbbc9d91d0a055f102845c14259b4f12289df (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-- | makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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 |