summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/opencv/APKBUILD3
1 files changed, 3 insertions, 0 deletions
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 \