The package rpms/cfdg.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/cfdg.git/commit/?id=188daffb942b7....
Change:
+%ifarch ppc64le
Thanks.
Full change:
============
commit 188daffb942b7c04e0f440af50ec9fff57116ddc
Author: Gwyn Ciesla <gwync(a)protonmail.com>
Date: Wed Jul 31 16:40:16 2019 -0500
Patch for ppc64le
diff --git a/cfdg-gcc.patch b/cfdg-gcc.patch
new file mode 100644
index 0000000..eee1ab2
--- /dev/null
+++ b/cfdg-gcc.patch
@@ -0,0 +1,11 @@
+--- Makefile~ 2019-07-31 16:25:31.000000000 -0500
++++ Makefile 2019-07-31 16:26:03.828996069 -0500
+@@ -195,7 +195,7 @@
+ #
+
+ CXXFLAGS += $(patsubst %,-I%,$(INC_DIRS))
+-CXXFLAGS += -O2 -Wall -Wextra -march=native -Wno-parentheses -std=c++14
++CXXFLAGS += -O2 -Wall -Wextra -mcpu=native -Wno-parentheses -std=c++14
+ CXXFLAGS += -g -D_GLIBCXX_USE_C99_MATH=1
+ CPPFLAGS += -DNDEBUG
+
diff --git a/cfdg.spec b/cfdg.spec
index d783dd9..525c0c4 100644
--- a/cfdg.spec
+++ b/cfdg.spec
@@ -10,6 +10,7 @@ Source0:
http://www.contextfreeart.org/download/ContextFreeSource3.1.tgz
BuildRequires: gcc-c++ libatomic libicu-devel
BuildRequires: libpng-devel bison flex
Patch0: cfdg-nostrip.patch
+Patch1: cfdg-gcc.patch
%description
Context Free is a program that generates images from written instructions
@@ -20,6 +21,9 @@ create images that can contain millions of shapes.
%setup -qcn ContextFreeSource3.1
%patch0 -p0
+%ifarch ppc64le
+%patch1 -p0
+%endif
%build