summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/ubsan/CMakeLists.txt')
-rw-r--r--compiler-rt/lib/ubsan/CMakeLists.txt8
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()
OpenPOWER on IntegriCloud