2002-11-08 23:46:08 +03:00
|
|
|
IF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
|
2012-05-05 23:11:35 +04:00
|
|
|
SET(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
|
|
|
|
SET(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE)
|
2002-11-08 23:46:08 +03:00
|
|
|
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
|
|
|
|
ELSE(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
|
2012-05-05 23:11:35 +04:00
|
|
|
SET(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
|
|
|
|
SET(CMAKE_C_COMPILE_OPTIONS_PIE -K PIE)
|
2002-11-08 23:46:08 +03:00
|
|
|
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
|
2004-09-22 22:42:05 +04:00
|
|
|
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport")
|
2002-11-08 23:46:08 +03:00
|
|
|
ENDIF(CMAKE_SYSTEM MATCHES "MP-RAS-02*.")
|
|
|
|
|
2007-08-10 16:54:42 +04:00
|
|
|
INCLUDE(Platform/UnixPaths)
|
2002-11-08 23:46:08 +03:00
|
|
|
|
|
|
|
|