Skip to content

Commit

Permalink
devel/kiwix-lib: fix build on powerpc
Browse files Browse the repository at this point in the history
LLVM doesn't have libatomic.
  • Loading branch information
pkubaj committed Jun 9, 2021
1 parent d47fa8b commit 1ade84b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions devel/kiwix-lib/files/patch-meson.build
@@ -0,0 +1,11 @@
--- meson.build.orig 2021-06-09 23:37:27 UTC
+++ meson.build
@@ -19,7 +19,7 @@ if wrapper.contains('java')
endif

# See https://github.com/kiwix/kiwix-lib/issues/371
-if ['arm', 'mips', 'm68k', 'ppc', 'sh4'].contains(target_machine.cpu_family())
+if ['arm', 'mips', 'm68k', 'sh4'].contains(target_machine.cpu_family())
extra_libs += '-latomic'
endif

0 comments on commit 1ade84b

Please sign in to comment.