[Lemon-commits] Alpar Juttner: CLANG compatible linker setting (...

Lemon HG hg at lemon.cs.elte.hu
Mon Jul 7 12:00:10 CEST 2014


details:   http://lemon.cs.elte.hu/hg/lemon/rev/fc35e3ff4bea
changeset: 1310:fc35e3ff4bea
user:      Alpar Juttner <alpar [at] cs.elte.hu>
date:      Thu May 08 17:20:25 2014 +0200
description:
	CLANG compatible linker setting (#480)

diffstat:

 CMakeLists.txt |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -186,11 +186,11 @@
     "Flags used by the C compiler during maintainer builds."
     )
   SET( CMAKE_EXE_LINKER_FLAGS_MAINTAINER
-    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
+    "${CMAKE_EXE_LINKER_FLAGS_DEBUG}" CACHE STRING
     "Flags used for linking binaries during maintainer builds."
     )
   SET( CMAKE_SHARED_LINKER_FLAGS_MAINTAINER
-    "-Wl,--warn-unresolved-symbols,--warn-once" CACHE STRING
+    "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}" CACHE STRING
     "Flags used by the shared libraries linker during maintainer builds."
     )
 ENDIF()


More information about the Lemon-commits mailing list