diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-01-18 12:45:44 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-01-18 12:45:44 +0000 |
| commit | 193b45f4fe4f1c5a23f8335cfc45a9d8b7b7ac3d (patch) | |
| tree | 918789a66a9f42aa8b98d67a9700c7a6c8c043f0 /compiler-rt/lib/ubsan/CMakeLists.txt | |
| parent | 518a135ffe611600adf7e57760b001388ba2ade1 (diff) | |
| download | bcm5719-llvm-193b45f4fe4f1c5a23f8335cfc45a9d8b7b7ac3d.tar.gz bcm5719-llvm-193b45f4fe4f1c5a23f8335cfc45a9d8b7b7ac3d.zip | |
CMake variables renaming: X86_64->x86_64 I386->i386
llvm-svn: 172812
Diffstat (limited to 'compiler-rt/lib/ubsan/CMakeLists.txt')
| -rw-r--r-- | compiler-rt/lib/ubsan/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/lib/ubsan/CMakeLists.txt b/compiler-rt/lib/ubsan/CMakeLists.txt index b16983da43e..7d5bf01cfd4 100644 --- a/compiler-rt/lib/ubsan/CMakeLists.txt +++ b/compiler-rt/lib/ubsan/CMakeLists.txt @@ -27,23 +27,23 @@ if(APPLE) list(APPEND UBSAN_RUNTIME_LIBRARIES clang_rt.ubsan_osx) else() # Build separate libraries for each target. - if(CAN_TARGET_X86_64) + if(CAN_TARGET_x86_64) add_library(clang_rt.ubsan-x86_64 STATIC ${UBSAN_SOURCES} $<TARGET_OBJECTS:RTSanitizerCommon.x86_64> ) set_target_compile_flags(clang_rt.ubsan-x86_64 - ${UBSAN_CFLAGS} ${TARGET_X86_64_CFLAGS} + ${UBSAN_CFLAGS} ${TARGET_x86_64_CFLAGS} ) list(APPEND UBSAN_RUNTIME_LIBRARIES clang_rt.ubsan-x86_64) endif() - if(CAN_TARGET_I386) + if(CAN_TARGET_i386) add_library(clang_rt.ubsan-i386 STATIC ${UBSAN_SOURCES} $<TARGET_OBJECTS:RTSanitizerCommon.i386> ) set_target_compile_flags(clang_rt.ubsan-i386 - ${UBSAN_CFLAGS} ${TARGET_I386_CFLAGS} + ${UBSAN_CFLAGS} ${TARGET_i386_CFLAGS} ) list(APPEND UBSAN_RUNTIME_LIBRARIES clang_rt.ubsan-i386) endif() |

