r183857 - Retain linker flags specified on cmake command line.

Andy Gibbs andyg1001 at hotmail.co.uk
Wed Jun 12 13:03:00 PDT 2013


Author: andyg
Date: Wed Jun 12 15:02:59 2013
New Revision: 183857

URL: http://llvm.org/viewvc/llvm-project?rev=183857&view=rev
Log:
Retain linker flags specified on cmake command line.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=183857&r1=183856&r2=183857&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Wed Jun 12 15:02:59 2013
@@ -151,7 +151,7 @@ if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
 endif ()
 
 if (APPLE)
-  set(CMAKE_MODULE_LINKER_FLAGS "-Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
+  set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,-flat_namespace -Wl,-undefined -Wl,suppress")
 endif ()
 
 configure_file(





More information about the cfe-commits mailing list