summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2020-08-20 13:16:19 -0400
committer GitHub <noreply@github.com>2020-08-20 13:16:19 -0400
commitd9e0e0dc47bc1e29c9aa908d26e5a027600c5f02 (patch)
treefbb2ea1e8e6e9345cfcab93b58690878f80a3087
parentb9054eb5adc19d8271f2deee646d30d5581ea804 (diff)
parentad957523da2415ec967c2616812187682655ec14 (diff)
Merge pull request #7107 from belegdol/ppc64-build-fix
Pass FORCE_C_DRC_BACKEND=1 on ppc architectures
-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