From fb50c3e21ebb45b060098b6973b67e4df04f0951 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Thu, 4 Apr 2019 08:39:47 +0200 Subject: [PATCH] Fixes #15 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 08ab522..0aee359 100644 --- a/Makefile +++ b/Makefile @@ -118,8 +118,8 @@ build/libcxxabi.BUILT: build/libcxx.BUILT build/llvm.BUILT -DLLVM_CONFIG_PATH=$(ROOT_DIR)/build/llvm/bin/llvm-config \ -DCMAKE_TOOLCHAIN_FILE=$(ROOT_DIR)/wasi-sdk.cmake \ -DWASI_SDK_PREFIX=$(PREFIX) \ - -DCMAKE_C_FLAGS="$(DEBUG_PREFIX_MAP)" \ - -DCMAKE_CXX_FLAGS="$(DEBUG_PREFIX_MAP)" \ + -DCMAKE_C_FLAGS="$(DEBUG_PREFIX_MAP) -I$(PREFIX)/share/sysroot/include" \ + -DCMAKE_CXX_FLAGS="$(DEBUG_PREFIX_MAP) -I$(PREFIX)/share/sysroot/include/c++/v1" \ -DUNIX:BOOL=ON \ --debug-trycompile \ $(LLVM_PROJ_DIR)/libcxxabi