From 3900dacbbb512d2ee11f0298e05ac318e7a576b9 Mon Sep 17 00:00:00 2001 From: Rechi Date: Fri, 17 Feb 2023 10:18:29 +0100 Subject: [PATCH] [depends] wavpack: fix osx-x86_64 build failure --- depends/common/wavpack/04-fix-osx-x86_x64.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 depends/common/wavpack/04-fix-osx-x86_x64.patch diff --git a/depends/common/wavpack/04-fix-osx-x86_x64.patch b/depends/common/wavpack/04-fix-osx-x86_x64.patch new file mode 100644 index 0000000..4710bda --- /dev/null +++ b/depends/common/wavpack/04-fix-osx-x86_x64.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -139,7 +139,7 @@ + endif() + else() + if(CMAKE_ASM-ATT_COMPILER) +- if(CPU_ASM_X86 OR CPU_ASM_X64 OR CPU_ASM_ARM32) ++ if(NOT CMAKE_SYSTEM_NAME MATCHES "Darwin" AND (CPU_ASM_X86 OR CPU_ASM_X64 OR CPU_ASM_ARM32)) + set(HAVE_ASM 1) + endif() + endif()