From 5913f7efab8ea00593cd739bb60a90d15a13b4be Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Tue, 14 Jul 2020 17:22:55 -0700 Subject: [PATCH] Pass -latomic on sh4 architecture too Same as #372. I originally missed this because meson didn't know about sh4 until recently (c.f. https://github.com/mesonbuild/meson/pull/7359), but this should work fine on older meson versions too. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index a6a0346f8..3769cc6b0 100644 --- a/meson.build +++ b/meson.build @@ -19,7 +19,7 @@ if 'java' in wrapper endif # See https://github.com/kiwix/kiwix-lib/issues/371 -if target_machine.cpu_family() in ['arm', 'mips', 'm68k', 'ppc'] +if target_machine.cpu_family() in ['arm', 'mips', 'm68k', 'ppc', 'sh4'] extra_libs += '-latomic' endif