* Support for intrinsics in MSW + Clang scenario.
Utility polyfill is provided, removed the no-longer-needed conditionals.
This commit is contained in:
committed by
Sam Lantinga
parent
89b6209313
commit
50db4a59b8
@@ -778,11 +778,6 @@ if(ASSEMBLY)
|
||||
set(HAVE_SSE3 TRUE)
|
||||
set(SDL_ASSEMBLY_ROUTINES 1)
|
||||
endif()
|
||||
# TODO:
|
||||
#else()
|
||||
# if(USE_GCC OR USE_CLANG)
|
||||
# list(APPEND EXTRA_CFLAGS "-mno-sse" "-mno-sse2" "-mno-sse3" "-mno-mmx")
|
||||
# endif()
|
||||
endif()
|
||||
|
||||
# TODO: Can't deactivate on FreeBSD? w/o LIBC, SDL_stdinc.h can't define
|
||||
@@ -2526,7 +2521,11 @@ if (ASAN)
|
||||
asan_check_add_debug_flag("undefined")
|
||||
asan_check_add_debug_flag("vla-bound")
|
||||
asan_check_add_debug_flag("leak")
|
||||
asan_check_add_debug_flag("object-size")
|
||||
# The object size sanitizer has no effect on unoptimized builds on Clang,
|
||||
# but causes warnings.
|
||||
if((NOT USE_CLANG) OR (CMAKE_BUILD_TYPE STREQUAL ""))
|
||||
asan_check_add_debug_flag("object-size")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
##### Tests #####
|
||||
|
||||
Reference in New Issue
Block a user