We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7a8448 commit 09a0ee2Copy full SHA for 09a0ee2
Makefile
@@ -123,12 +123,13 @@ ifeq ($(OS),Windows_NT)
123
# LLVM compiled using MinGW on Windows appears to have problems with threads.
124
# Without this flag, linking results in errors like these:
125
# libLLVMSupport.a(Threading.cpp.obj):Threading.cpp:(.text+0x55): undefined reference to `std::thread::hardware_concurrency()'
126
- # LLVM_OPTION += -DLLVM_ENABLE_THREADS=OFF -DLLVM_ENABLE_PIC=OFF
+ LLVM_OPTION += -DLLVM_ENABLE_THREADS=OFF -DLLVM_ENABLE_PIC=OFF
127
128
CGO_CPPFLAGS += -DCINDEX_NO_EXPORTS
129
CGO_LDFLAGS += -static -static-libgcc -static-libstdc++
130
CGO_LDFLAGS_EXTRA += -lversion
131
132
+ CGO_LDFLAGS += -Wl,-z,stack-size=0x100000
133
USE_SYSTEM_BINARYEN ?= 1
134
135
else ifeq ($(shell uname -s),Darwin)
0 commit comments