summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/GNU.cmake
blob: fe3d47b0966830b79a4025bf0c5496c0d2bdcdc7 (plain)
1
2
3
4
5
6
7
8
# GCC is the default compiler on GNU/Hurd.
SET(CMAKE_DL_LIBS "dl")
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
INCLUDE(Platform/UnixPaths)