forked from OSchip/llvm-project
[gn build] (manually) port 3031fa88f0
This commit is contained in:
parent
23ce89a5a2
commit
79e5e086a2
|
@ -308,12 +308,6 @@ write_cmake_config("config") {
|
||||||
values += [ "LLVM_ENABLE_TERMINFO=" ]
|
values += [ "LLVM_ENABLE_TERMINFO=" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (llvm_enable_dia_sdk) {
|
|
||||||
values += [ "LLVM_ENABLE_DIA_SDK=1" ]
|
|
||||||
} else {
|
|
||||||
values += [ "LLVM_ENABLE_DIA_SDK=" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
if (llvm_enable_libxml2) {
|
if (llvm_enable_libxml2) {
|
||||||
values += [ "LLVM_ENABLE_LIBXML2=1" ]
|
values += [ "LLVM_ENABLE_LIBXML2=1" ]
|
||||||
} else {
|
} else {
|
||||||
|
@ -377,6 +371,12 @@ write_cmake_config("llvm-config") {
|
||||||
values += [ "LLVM_HAVE_LIBXAR=" ]
|
values += [ "LLVM_HAVE_LIBXAR=" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (llvm_enable_dia_sdk) {
|
||||||
|
values += [ "LLVM_ENABLE_DIA_SDK=1" ]
|
||||||
|
} else {
|
||||||
|
values += [ "LLVM_ENABLE_DIA_SDK=" ]
|
||||||
|
}
|
||||||
|
|
||||||
if (llvm_enable_threads) {
|
if (llvm_enable_threads) {
|
||||||
values += [ "LLVM_ENABLE_THREADS=1" ]
|
values += [ "LLVM_ENABLE_THREADS=1" ]
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue