From fb5625e34a7f55af98024de106ea99ce44b24a0d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 6 Aug 2019 00:53:12 +0000 Subject: user/opencv: fix build on 32-bit PowerPC --- user/opencv/APKBUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'user') diff --git a/user/opencv/APKBUILD b/user/opencv/APKBUILD index fed685d80..76403ac60 100644 --- a/user/opencv/APKBUILD +++ b/user/opencv/APKBUILD @@ -36,6 +36,9 @@ build() { if [ "$CARCH" != "x86_64" ]; then local _sse="-DENABLE_SSE=OFF -DENABLE_SSE2=OFF" fi + if [ "$CARCH" = "ppc" ]; then + LDFLAGS="-latomic" + fi cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -- cgit v1.2.3-70-g09d2