package/opencv3: do not detect ccache
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 26 Dec 2020 15:47:29 +0000 (16:47 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 27 Dec 2020 08:43:15 +0000 (09:43 +0100)
OpenCV-3's buildsystem will try to detect ccache and use it if
available. This may yield a system-installed ccache.

However, in Buildroot, ccache is entirely hidden away and handled in the
toolchain wrapper.

Forcibly disable detection of ccache.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/opencv3/opencv3.mk

index 2bf70261c77a98b338dc8585ae07c4387ac9feef..231d44395eb7175e9dac4216ebf9a73b0baaf368 100644 (file)
@@ -46,6 +46,7 @@ endif
 # OpenCV build options
 OPENCV3_CONF_OPTS += \
        -DBUILD_WITH_STATIC_CRT=OFF \
+       -DENABLE_CCACHE=OFF \
        -DENABLE_COVERAGE=OFF \
        -DENABLE_FAST_MATH=ON \
        -DENABLE_IMPL_COLLECTION=OFF \