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