Skip to content

Commit 52fd0f8

Browse files
committed
[utils/build-parser-lib] Disable LLVM_ENABLE_TERMINFO for building the parser library
We don't need it and it causes the parser library to reference non-public symbols.
1 parent 09db813 commit 52fd0f8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

utils/build-parser-lib

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,11 @@ class Builder(object):
234234
"-DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=FALSE",
235235
"-DSWIFT_BUILD_STATIC_SDK_OVERLAY=FALSE",
236236
]
237-
cmake_args += ["-DLLVM_ENABLE_LIBXML2=FALSE", "-DLLVM_ENABLE_LIBEDIT=FALSE"]
237+
cmake_args += [
238+
"-DLLVM_ENABLE_LIBXML2=FALSE",
239+
"-DLLVM_ENABLE_LIBEDIT=FALSE",
240+
"-DLLVM_ENABLE_TERMINFO=FALSE",
241+
]
238242
# We are not using cmark but initialize the CMARK variables to something so
239243
# that configure can succeed.
240244
cmake_args += [

0 commit comments

Comments
 (0)