Really fix the build this time.

I was setting the python variable to "@HAVE_DIA_SDK@", which will
always be a string, and will always evaluate to True.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2015-02-22 07:13:52 +00:00
parent ca27e720c3
commit 69fadae872
2 changed files with 3 additions and 1 deletions

View File

@ -446,6 +446,8 @@ if( MSVC )
else()
set(HAVE_DIA_SDK 0)
endif()
else()
set(HAVE_DIA_SDK 0)
endif( MSVC )
message("CMake set HAVE_DIA_SDK to ${HAVE_DIA_SDK}")

View File

@ -31,7 +31,7 @@ config.host_ldflags = "@HOST_LDFLAGS@"
config.llvm_use_intel_jitevents = "@LLVM_USE_INTEL_JITEVENTS@"
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
config.have_zlib = "@HAVE_LIBZ@"
config.have_dia_sdk = "@HAVE_DIA_SDK@"
config.have_dia_sdk = @HAVE_DIA_SDK@
config.enable_ffi = "@LLVM_ENABLE_FFI@"
print("lit.site.cfg.in: config.have_dia_sdk set to %s" % config.have_dia_sdk)