Sophie

Sophie

distrib > Mageia > 8 > i586 > by-pkgid > c97d2e0b2294cea29d36e79e8fdd3ba1 > files > 1

darktable-3.8.0-1.1.mga8.src.rpm

From ecee2c74c22eeaa5b783d1db5397f9b32b399e10 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jani=20V=C3=A4limaa?= <wally@mageia.org>
Date: Sat, 25 Dec 2021 19:52:25 +0200
Subject: [PATCH] Define __DT_CLONE_TARGETS__ on aarch64

---
 src/common/darktable.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/common/darktable.h b/src/common/darktable.h
index b841bf2..aad6169 100644
--- a/src/common/darktable.h
+++ b/src/common/darktable.h
@@ -133,6 +133,8 @@ typedef unsigned int u_int;
 # elif defined(__PPC64__)
 /* __PPC64__ is the only macro tested for in is_supported_platform.h, other macros would fail there anyway. */
 #define __DT_CLONE_TARGETS__ __attribute__((target_clones("default","cpu=power9")))
+# else
+#define __DT_CLONE_TARGETS__
 # endif
 #else
 #define __DT_CLONE_TARGETS__
-- 
2.34.1