diff options
Diffstat (limited to 'Modules/Platform/MP-RAS.cmake')
-rw-r--r-- | Modules/Platform/MP-RAS.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/Platform/MP-RAS.cmake b/Modules/Platform/MP-RAS.cmake new file mode 100644 index 0000000..5a644dc --- /dev/null +++ b/Modules/Platform/MP-RAS.cmake @@ -0,0 +1,9 @@ +IF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.") + SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") +ELSE(CMAKE_SYSTEM MATCHES "MP-RAS-02*.") + SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") + SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-Wl,-Bexport") +ENDIF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.") + + + |