summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/MP-RAS.cmake
blob: 2b2fe47f647fe3c61b339c1a96da42a20742449f (plain)
1
2
3
4
5
6
7
8
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_C_FLAGS "-Wl,-Bexport")
ENDIF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")