diff options
author | Brad King <brad.king@kitware.com> | 2013-03-14 14:00:35 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-03-14 14:00:35 (GMT) |
commit | 192ef7101e800450f4130921727e287443bf6002 (patch) | |
tree | 0a3e795aa459be47c34662d077a4d13d7556f2be /Modules | |
parent | ae84d24b21ce4959f8feffafdefff4d475502a91 (diff) | |
parent | 5c8c1d624d9b56e400637e996fd060add09180a3 (diff) | |
download | CMake-192ef7101e800450f4130921727e287443bf6002.zip CMake-192ef7101e800450f4130921727e287443bf6002.tar.gz CMake-192ef7101e800450f4130921727e287443bf6002.tar.bz2 |
Merge topic 'aix-pic'
5c8c1d6 XL: Use -qpic for position independent code (#14010)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/XL.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/XL.cmake b/Modules/Compiler/XL.cmake index d293610..7bf5020 100644 --- a/Modules/Compiler/XL.cmake +++ b/Modules/Compiler/XL.cmake @@ -27,6 +27,7 @@ find_program(CMAKE_XL_CreateExportList macro(__compiler_xl lang) # Feature flags. set(CMAKE_${lang}_VERBOSE_FLAG "-V") + set(CMAKE_${lang}_COMPILE_OPTIONS_PIC "-qpic") set(CMAKE_${lang}_FLAGS_DEBUG_INIT "-g") set(CMAKE_${lang}_FLAGS_RELEASE_INIT "-O") |