summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/XL-C.cmake
blob: f976c9912ce609f30b3f736bd52037c710a08d7d (plain)
1
2
3
4
5
6
7
8
include(Compiler/XL)
__compiler_xl(C)
string(APPEND CMAKE_C_FLAGS_RELEASE_INIT " -DNDEBUG")
string(APPEND CMAKE_C_FLAGS_MINSIZEREL_INIT " -DNDEBUG")

# -qthreaded     = Ensures that all optimizations will be thread-safe
# -qhalt=e       = Halt on error messages (rather than just severe errors)
string(APPEND CMAKE_C_FLAGS_INIT " -qthreaded -qhalt=e")