mirror of
https://github.com/reactos/CMake.git
synced 2025-02-23 05:22:26 +00:00

Previously, it was inconsistent in that some platforms/compilers had this flag for the RelWithDebInfo configuration and some didn't. This fixes issue #11366.
14 lines
577 B
CMake
14 lines
577 B
CMake
set(CMAKE_ASM_VERBOSE_FLAG "-V")
|
|
|
|
# -qthreaded = Ensures that all optimizations will be thread-safe
|
|
# -qalias=noansi = Turns off type-based aliasing completely (safer optimizer)
|
|
# -qhalt=e = Halt on error messages (rather than just severe errors)
|
|
set(CMAKE_ASM_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e -qsourcetype=assembler")
|
|
|
|
set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g")
|
|
set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O -DNDEBUG")
|
|
set(CMAKE_ASM_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG")
|
|
set(CMAKE_ASM_FLAGS_RELWITHDEBINFO_INIT "-g -DNDEBUG")
|
|
|
|
set(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )
|