From 120fb3d6999854bf8b58f57c5cf170c665d21b1b Mon Sep 17 00:00:00 2001 From: Cheng Shao Date: Wed, 18 May 2022 14:18:23 +0000 Subject: [PATCH] Add -fno-exceptions when testing C++ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6602c53..dc5139b 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ default: build check: CC="clang --sysroot=$(BUILD_PREFIX)/share/wasi-sysroot" \ - CXX="clang++ --sysroot=$(BUILD_PREFIX)/share/wasi-sysroot" \ + CXX="clang++ --sysroot=$(BUILD_PREFIX)/share/wasi-sysroot -fno-exceptions" \ PATH="$(PATH_PREFIX)/bin:$$PATH" tests/run.sh clean: