summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.cmake.in
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-12 12:37:10 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-12 12:37:10 (GMT)
commit021ceea1b0c841852f8ca3f9f550d966834b4d40 (patch)
tree3b9ea1abca5af7acf346531775369b4fb2aa8176 /Modules/CMakeCCompiler.cmake.in
parent16705a3e87f3f8a877b5fe8dc1e953c7abca4da3 (diff)
downloadCMake-021ceea1b0c841852f8ca3f9f550d966834b4d40.zip
CMake-021ceea1b0c841852f8ca3f9f550d966834b4d40.tar.gz
CMake-021ceea1b0c841852f8ca3f9f550d966834b4d40.tar.bz2
ENH: second try for handling the linker language with integer priority values (returning a pointer to a string on the stack is no good idea)
Alex
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
-rw-r--r--Modules/CMakeCCompiler.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index b746aba..6a7fef8 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -21,7 +21,7 @@ ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
-SET(CMAKE_C_LINKER_PREFERENCE None)
+SET(CMAKE_C_LINKER_PREFERENCE 10)
# save the size of void* in case where cache is removed
# and the this file is still around