Skip to content
Snippets Groups Projects
Verified Commit fb5625e3 authored by Anna Wilcox's avatar Anna Wilcox :fox:
Browse files

user/opencv: fix build on 32-bit PowerPC

parent 76f04362
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment