summaryrefslogtreecommitdiff
path: root/Modules/Compiler/XL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Compiler/XL.cmake')
-rw-r--r--Modules/Compiler/XL.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/XL.cmake b/Modules/Compiler/XL.cmake
index d293610c3..7bf5020ac 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")