diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-09-05 23:00:56 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-09-06 21:36:07 +0200 |
commit | 4904c4ce8ac8b605b2591df1c259f5ad70bed48f (patch) | |
tree | 7ac8319fbdbf7887c7802c807e222970dc37ca01 /package/opencv3/Config.in | |
parent | 2bc1cc7cc182c61a430083b9132c6638caaf5632 (diff) | |
download | buildroot-4904c4ce8ac8b605b2591df1c259f5ad70bed48f.tar.gz buildroot-4904c4ce8ac8b605b2591df1c259f5ad70bed48f.zip |
package/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC
It uses __atomic_fetch_add_4 so libatomic must be pulled in if
necessary. Fixes
http://autobuild.buildroot.net/results/652/6521223b426c3cb4dfefab27bc6021900db6910e/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/opencv3/Config.in')
-rw-r--r-- | package/opencv3/Config.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/opencv3/Config.in b/package/opencv3/Config.in index 2f4aa7aca8..4c00bf1b94 100644 --- a/package/opencv3/Config.in +++ b/package/opencv3/Config.in @@ -1,6 +1,7 @@ menuconfig BR2_PACKAGE_OPENCV3 bool "opencv3" select BR2_PACKAGE_ZLIB + depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR @@ -335,6 +336,7 @@ config BR2_PACKAGE_OPENCV3_INSTALL_DATA endif # BR2_PACKAGE_OPENCV3 comment "opencv3 needs a toolchain w/ C++, NPTL, wchar, dynamic library" + depends on BR2_TOOLCHAIN_HAS_ATOMIC depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ |