summaryrefslogtreecommitdiff
path: root/Modules/Platform/UNIX_SV.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/UNIX_SV.cmake')
-rw-r--r--Modules/Platform/UNIX_SV.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/UNIX_SV.cmake b/Modules/Platform/UNIX_SV.cmake
new file mode 100644
index 000000000..869b3a6a0
--- /dev/null
+++ b/Modules/Platform/UNIX_SV.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_LINK_C_FLAGS "-Wl,-Bexport")
+INCLUDE(Platform/UnixPaths)