1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

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.

llvm-svn: 230163
This commit is contained in:
Zachary Turner 2015-02-22 07:13:52 +00:00
parent 75325af180
commit 05a56f4191
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)