Retain linker flags specified on cmake command line.

llvm-svn: 183857
This commit is contained in:
Andy Gibbs 2013-06-12 20:02:59 +00:00
parent 59175a1523
commit 30feecd2a7

View File

@ -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(