From 15b5869b46d03dbd785c00ce71cee38225a3420a Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 9 Mar 2006 15:00:37 -0500 Subject: [PATCH] ENH: add correct initial flags for aix --- Modules/Platform/AIX.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index 4c0130ab7..be02529c3 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)