~ubuntu-branches/ubuntu/lucid/cmake/lucid

« back to all changes in this revision

Viewing changes to .pc/hurd_platform.diff/Modules/Platform/GNU.cmake

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2009-12-16 11:11:54 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091216111154-6accvv6yq86h2hkc
Tags: 2.8.0-5ubuntu1
* Merge from debian testing (LP: #497349). Remaining changes:
  - Keep the Replaces: on cmake-data to cover the Kubuntu version from
    Jaunty in case someone decides to do an (unsupported) Jaunty->Lucid
    upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# GCC is the default compiler on GNU/Hurd.
 
2
SET(CMAKE_DL_LIBS "dl")
 
3
SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-fPIC")
 
4
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared")
 
5
SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-rdynamic")
 
6
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
 
7
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":")
 
8
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
 
9
SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-soname,")
 
10
INCLUDE(Platform/UnixPaths)