summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Linux-PathScale-C.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-01-21 14:09:27 (GMT)
committerBrad King <brad.king@kitware.com>2010-01-21 14:09:27 (GMT)
commit1804c6bfe2705ad131c01e89d5c58729f14ce6d4 (patch)
tree7a70ba730943fd37bd417a6d3fccc462afd98dc8 /Modules/Platform/Linux-PathScale-C.cmake
parent8c7b3a21cc75d51795aefcf383c5aabbf7d95aec (diff)
downloadCMake-1804c6bfe2705ad131c01e89d5c58729f14ce6d4.zip
CMake-1804c6bfe2705ad131c01e89d5c58729f14ce6d4.tar.gz
CMake-1804c6bfe2705ad131c01e89d5c58729f14ce6d4.tar.bz2
Add PathScale shared library flags on Linux
We add platform-specific compiler information files Platform/Linux-PathScale-<lang>.cmake to enable -fPIC and -shared flags for shared libraries.
Diffstat (limited to 'Modules/Platform/Linux-PathScale-C.cmake')
-rw-r--r--Modules/Platform/Linux-PathScale-C.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Linux-PathScale-C.cmake b/Modules/Platform/Linux-PathScale-C.cmake
new file mode 100644
index 0000000..009f398
--- /dev/null
+++ b/Modules/Platform/Linux-PathScale-C.cmake
@@ -0,0 +1,2 @@
+include(Platform/Linux-PathScale)
+__linux_compiler_pathscale(C)