|
@@ -312,7 +312,7 @@ endif()
|
|
add_c_compiler_flag(-pedantic-errors)
|
|
add_c_compiler_flag(-pedantic-errors)
|
|
add_c_compiler_flag(-fvisibility=hidden)
|
|
add_c_compiler_flag(-fvisibility=hidden)
|
|
add_c_compiler_flag(-fstack-protector-strong RELEASE)
|
|
add_c_compiler_flag(-fstack-protector-strong RELEASE)
|
|
-add_c_compiler_flag(-flto RELEASE)
|
|
|
|
|
|
+#add_c_compiler_flag(-flto RELEASE)
|
|
if (${CIVETWEB_ENABLE_ASAN})
|
|
if (${CIVETWEB_ENABLE_ASAN})
|
|
add_c_compiler_flag(-fsanitize=undefined DEBUG)
|
|
add_c_compiler_flag(-fsanitize=undefined DEBUG)
|
|
add_c_compiler_flag(-fsanitize=address DEBUG)
|
|
add_c_compiler_flag(-fsanitize=address DEBUG)
|