From 590e05877febbd838b464fefafe4765a908bbd86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=AF=D9=8A=20=D8=B4=D9=8A=D9=86=D9=88=D9=86?= =?UTF-8?q?=20=28Mehdi=20Chinoune=29?= Date: Mon, 29 Aug 2022 10:52:43 +0100 Subject: [PATCH] OpenEXR: Disable Building Tools on CLANG environments --- mingw-w64-openexr/PKGBUILD | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mingw-w64-openexr/PKGBUILD b/mingw-w64-openexr/PKGBUILD index 2fb8630189..a0420e6c5d 100644 --- a/mingw-w64-openexr/PKGBUILD +++ b/mingw-w64-openexr/PKGBUILD @@ -54,6 +54,10 @@ build() { extra_config+=("-DCMAKE_BUILD_TYPE=Debug") fi + if [[ ${MINGW_PACKAGE_PREFIX} == *-clang-* ]]; then + extra_config+=("-DOPENEXR_BUILD_TOOLS=OFF") + fi + CXXFLAGS+=" -Wno-ignored-attributes" MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \