[x265] [PATCH 3 of 6] cmake: remove obsolete CC_HAS_FSANITIZE section
Steve Borho
steve at borho.org
Fri Mar 6 18:07:20 CET 2015
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1425660584 21600
# Fri Mar 06 10:49:44 2015 -0600
# Node ID 23a56c0d1ffa776b72b4b83ac369262bfb614d1e
# Parent cb0127e2669414101f2e2aff827762bbf04eb283
cmake: remove obsolete CC_HAS_FSANITIZE section
diff -r cb0127e26694 -r 23a56c0d1ffa source/CMakeLists.txt
--- a/source/CMakeLists.txt Fri Mar 06 10:49:25 2015 -0600
+++ b/source/CMakeLists.txt Fri Mar 06 10:49:44 2015 -0600
@@ -188,9 +188,6 @@
check_cxx_compiler_flag(-fsanitize=undefined-trap CC_HAS_CATCH_UNDEFINED) # clang
check_cxx_compiler_flag(-ftrapv CC_HAS_FTRAPV) # gcc
check_cxx_compiler_flag(-fstack-protector CC_HAS_STACK_PROTECT) # gcc
- if(CC_HAS_FSANITIZE)
- add_definitions(-fsanitize=address)
- endif()
if(CC_HAS_FTRAPV)
add_definitions(-ftrapv)
endif()
More information about the x265-devel
mailing list