summaryrefslogtreecommitdiff
path: root/Modules/Platform/UnixWare.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/UnixWare.cmake')
-rw-r--r--Modules/Platform/UnixWare.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/UnixWare.cmake b/Modules/Platform/UnixWare.cmake
new file mode 100644
index 000000000..3112ee1ef
--- /dev/null
+++ b/Modules/Platform/UnixWare.cmake
@@ -0,0 +1,5 @@
+SET(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
+SET(CMAKE_C_COMPILE_OPTIONS_PIE "")
+SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
+SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-Wl,-Bexport")
+INCLUDE(Platform/UnixPaths)