diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-08-06 00:53:12 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-08-06 00:53:12 +0000 |
commit | fb5625e34a7f55af98024de106ea99ce44b24a0d (patch) | |
tree | 9b0b47a355d7d8b3ac9ce4a168b259e719099262 /user/opencv | |
parent | 76f04362b543ed74ecd3dab250ea769b144a7dbb (diff) | |
download | packages-fb5625e34a7f55af98024de106ea99ce44b24a0d.tar.gz packages-fb5625e34a7f55af98024de106ea99ce44b24a0d.tar.bz2 packages-fb5625e34a7f55af98024de106ea99ce44b24a0d.tar.xz packages-fb5625e34a7f55af98024de106ea99ce44b24a0d.zip |
user/opencv: fix build on 32-bit PowerPC
Diffstat (limited to 'user/opencv')
-rw-r--r-- | user/opencv/APKBUILD | 3 |
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 \ |