summaryrefslogtreecommitdiff
path: root/Modules/Compiler/XL-ASM.cmake
blob: e5d4ffa85b6e1c2164ecb0ba2237afc8661a6eb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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")

SET(CMAKE_ASM_SOURCE_FILE_EXTENSIONS s )