From 9173dd9051044fa3340b063e50ced45e98cd0713 Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Thu, 22 Dec 2022 02:18:28 +0100 Subject: [PATCH] Build macOS universal binaries (#270) --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 98d6b43..4745614 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,8 @@ build/llvm.BUILT: -DLLVM_ENABLE_ZLIB=OFF \ -DLLVM_ENABLE_ZSTD=OFF \ -DLLVM_STATIC_LINK_CXX_STDLIB=ON \ + -DLLVM_HAVE_LIBXAR=OFF \ + -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \ -DCMAKE_INSTALL_PREFIX=$(PREFIX) \ -DLLVM_TARGETS_TO_BUILD=WebAssembly \ -DLLVM_DEFAULT_TARGET_TRIPLE=wasm32-wasi \