[cfe-commits] r127579 - /cfe/trunk/tools/libclang/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Mon Mar 14 07:32:16 PDT 2011


Author: ofv
Date: Mon Mar 14 09:32:16 2011
New Revision: 127579

URL: http://llvm.org/viewvc/llvm-project?rev=127579&view=rev
Log:
Fix LIBCLANG_LINK_FLAGS for Darwin.

The previous syntax created a list with the usual semicolon as
separator, which breaks the link command.

Modified:
    cfe/trunk/tools/libclang/CMakeLists.txt

Modified: cfe/trunk/tools/libclang/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CMakeLists.txt?rev=127579&r1=127578&r2=127579&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CMakeLists.txt (original)
+++ cfe/trunk/tools/libclang/CMakeLists.txt Mon Mar 14 09:32:16 2011
@@ -38,8 +38,8 @@
     DEFINE_SYMBOL _CINDEX_LIB_)
 
   if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
-    set(LIBCLANG_LINK_FLAGS "-Wl,-compatibility_version -Wl,1"
-      " -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
+    set(LIBCLANG_LINK_FLAGS
+      "-Wl,-compatibility_version -Wl,1 -Wl,-dead_strip -Wl,-seg1addr -Wl,0xE0000000")
     set_target_properties(libclang
       PROPERTIES
       LINK_FLAGS "${LIBCLANG_LINK_FLAGS}"





More information about the cfe-commits mailing list