File oiio-detectplatform-others.patch of Package OpenImageIO
--- src/make/detectplatform.mk
+++ src/make/detectplatform.mk
@@ -25,7 +25,19 @@
ifneq (${hw},x86_64)
ifneq (${hw},i386)
ifneq (${hw},i686)
- $(error "ERROR: Unknown hardware architecture")
+ ifneq (${hw},aarch64)
+ ifneq (${hw},ppc)
+ ifneq (${hw},ppc64)
+ ifneq (${hw},ppc64le)
+ ifneq (${hw},s390)
+ ifneq (${hw},s390x)
+ $(error "ERROR: Unknown hardware architecture")
+ endif
+ endif
+ endif
+ endif
+ endif
+ endif
endif
endif
endif
@@ -44,6 +56,18 @@
ifeq (${hw},x86_64)
platform := linux64
endif
+ ifeq (${hw},aarch64)
+ platform := linux64
+ endif
+ ifeq (${hw},ppc64)
+ platform := linux64
+ endif
+ ifeq (${hw},ppc64le)
+ platform := linux64
+ endif
+ ifeq (${hw},s390x)
+ platform := linux64
+ endif
endif
# Windows