aboutsummaryrefslogtreecommitdiff
path: root/package/opencv3
diff options
context:
space:
mode:
authorGravatar Ed Blake <ed.blake@sondrel.com>2019-03-26 12:30:47 +0000
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-26 20:18:33 +0100
commitaea1a0e5a350e20570c8e4d753a30335cdf40bc7 (patch)
treefc6ba2431579cea5260f857531704ff0044208e3 /package/opencv3
parent69deeb341cbdcf621e9db93e100229174ebd37b1 (diff)
downloadbuildroot-aea1a0e5a350e20570c8e4d753a30335cdf40bc7.tar.gz
buildroot-aea1a0e5a350e20570c8e4d753a30335cdf40bc7.tar.bz2
package: use BR2_TOOLCHAIN_HAS_OPENMP
Switch from using BR2_GCC_ENABLE_OPENMP to BR2_TOOLCHAIN_HAS_OPENMP to determine OpenMP support in the following packages: fftw flann opencv3 Signed-off-by: Ed Blake <ed.blake@sondrel.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/opencv3')
-rw-r--r--package/opencv3/opencv3.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/opencv3/opencv3.mk b/package/opencv3/opencv3.mk
index 3a2594b584..292ce81432 100644
--- a/package/opencv3/opencv3.mk
+++ b/package/opencv3/opencv3.mk
@@ -279,7 +279,7 @@ else
OPENCV3_CONF_OPTS += -DWITH_OPENGL=OFF
endif
-OPENCV3_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_GCC_ENABLE_OPENMP),ON,OFF)
+OPENCV3_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_TOOLCHAIN_HAS_OPENMP),ON,OFF)
ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PNG),y)
OPENCV3_CONF_OPTS += -DWITH_PNG=ON