diff options
author | Brad King <brad.king@kitware.com> | 2015-07-06 14:07:58 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-06 14:07:58 (GMT) |
commit | e5d37f23f1ad2a485b09c0975289ea73025dcb7f (patch) | |
tree | f4b99f32af3173393b17b5fd9001ae2c286eca49 | |
parent | d1db123e1c3eeba3fcc27b8ae2f65c7ae8f91a7f (diff) | |
parent | a33fb493de9098a22c4a3bd58a49e32ee156f0f8 (diff) | |
download | CMake-e5d37f23f1ad2a485b09c0975289ea73025dcb7f.zip CMake-e5d37f23f1ad2a485b09c0975289ea73025dcb7f.tar.gz CMake-e5d37f23f1ad2a485b09c0975289ea73025dcb7f.tar.bz2 |
Merge topic 'xlc-no-qalias-flag'
a33fb493 XL: Drop -qalias=noansi from default C flags
-rw-r--r-- | Modules/Compiler/XL-ASM.cmake | 3 | ||||
-rw-r--r-- | Modules/Compiler/XL-C.cmake | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Modules/Compiler/XL-ASM.cmake b/Modules/Compiler/XL-ASM.cmake index 07507f9..212179e 100644 --- a/Modules/Compiler/XL-ASM.cmake +++ b/Modules/Compiler/XL-ASM.cmake @@ -1,9 +1,8 @@ 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_INIT "-qthreaded -qhalt=e -qsourcetype=assembler") set(CMAKE_ASM_FLAGS_DEBUG_INIT "-g") set(CMAKE_ASM_FLAGS_RELEASE_INIT "-O -DNDEBUG") diff --git a/Modules/Compiler/XL-C.cmake b/Modules/Compiler/XL-C.cmake index 09a5529..97dd017 100644 --- a/Modules/Compiler/XL-C.cmake +++ b/Modules/Compiler/XL-C.cmake @@ -4,6 +4,5 @@ set(CMAKE_C_FLAGS_RELEASE_INIT "${CMAKE_C_FLAGS_RELEASE_INIT} -DNDEBUG") set(CMAKE_C_FLAGS_MINSIZEREL_INIT "${CMAKE_C_FLAGS_MINSIZEREL_INIT} -DNDEBUG") # -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_C_FLAGS_INIT "-qthreaded -qalias=noansi -qhalt=e") +set(CMAKE_C_FLAGS_INIT "-qthreaded -qhalt=e") |