diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-09 20:00:37 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-03-09 20:00:37 (GMT) |
commit | 15b5869b46d03dbd785c00ce71cee38225a3420a (patch) | |
tree | a4acccc1463dafb2c71286031a44e9f11160f8b2 /Modules/Platform | |
parent | 14cb9c5aff92713d7e09a296a3fd2c4e5a28903e (diff) | |
download | CMake-15b5869b46d03dbd785c00ce71cee38225a3420a.zip CMake-15b5869b46d03dbd785c00ce71cee38225a3420a.tar.gz CMake-15b5869b46d03dbd785c00ce71cee38225a3420a.tar.bz2 |
ENH: add correct initial flags for aix
Diffstat (limited to 'Modules/Platform')
-rw-r--r-- | Modules/Platform/AIX.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index 4c0130a..be02529 100644 --- a/Modules/Platform/AIX.cmake +++ b/Modules/Platform/AIX.cmake @@ -26,4 +26,8 @@ ELSE(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-brtl,-bexpall") # +s, flag for exe link to use shared lib SET(CMAKE_SHARED_LIBRARY_C_FLAGS " ") SET(CMAKE_SHARED_MODULE_C_FLAGS " ") + SET (CMAKE_C_FLAGS_DEBUG_INIT "-g") + SET (CMAKE_C_FLAGS_RELEASE_INIT "-O -DNDEBUG") + SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "-O -DNDEBUG") + SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "-g") ENDIF(CMAKE_COMPILER_IS_GNUCC) |