diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-11-23 22:28:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-11-23 22:28:28 (GMT) |
commit | 04ca53e6860c77e88460aa6aa9e8dd2ee971a0c5 (patch) | |
tree | 756192af77e8da65b12d3fab2bfaad94a56ded82 /Modules/Platform/AIX.cmake | |
parent | bdb660bad4eb032491301329e94458875b6bb5f5 (diff) | |
download | CMake-04ca53e6860c77e88460aa6aa9e8dd2ee971a0c5.zip CMake-04ca53e6860c77e88460aa6aa9e8dd2ee971a0c5.tar.gz CMake-04ca53e6860c77e88460aa6aa9e8dd2ee971a0c5.tar.bz2 |
ENH: try and fix aix xlC with gcc
Diffstat (limited to 'Modules/Platform/AIX.cmake')
-rw-r--r-- | Modules/Platform/AIX.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Platform/AIX.cmake b/Modules/Platform/AIX.cmake index 23f728d..d9d0209 100644 --- a/Modules/Platform/AIX.cmake +++ b/Modules/Platform/AIX.cmake @@ -8,14 +8,14 @@ SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-brtl,-bexpall") # +s, flag for exe IF(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -Wl,-G") # -shared ELSE(CMAKE_COMPILER_IS_GNUCXX) - SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") - SET(CMAKE_SHARED_MODULE_CXX_FLAGS "") + SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS " ") + SET(CMAKE_SHARED_MODULE_CXX_FLAGS " ") ENDIF(CMAKE_COMPILER_IS_GNUCXX) # C Compiler IF(CMAKE_COMPILER_IS_GNUCC) SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -Wl,-G") # -shared ELSE(CMAKE_COMPILER_IS_GNUCC) - SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") - SET(CMAKE_SHARED_MODULE_C_FLAGS "") + SET(CMAKE_SHARED_LIBRARY_C_FLAGS " ") + SET(CMAKE_SHARED_MODULE_C_FLAGS " ") ENDIF(CMAKE_COMPILER_IS_GNUCC) |