From 5fc95f7b5927ebb06e2665b753d2636c5e24adaf Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 18 Mar 2024 10:04:19 -0600 Subject: [PATCH] build: use clang instead of llvm-gcc Modern clang works just fine, also llvm-gcc is nowhere to be found. --- Make.inc | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Make.inc b/Make.inc index 76124999..76b05b60 100644 --- a/Make.inc +++ b/Make.inc @@ -39,6 +39,7 @@ endif ifeq ($(ARCH),wasm32) USECLANG = 1 +USEGCC = 0 TOOLPREFIX = llvm- endif diff --git a/README.md b/README.md index 4c5ba206..d1c30039 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ loongarch64. Linux and Windows. 3. Use `make USECLANG=1` to build with clang. This is the default on OS X, FreeBSD, and OpenBSD. -4. Use `make ARCH=wasm32` to build the wasm32 library with clang. Requires clang-8. +4. Use `make ARCH=wasm32` to build the wasm32 library with clang. 5. Architectures are auto-detected. Use `make ARCH=i386` to force a build for i386. Other supported architectures are i486, i586, and i686. GCC 4.8 is the minimum requirement for correct codegen on