--- codelite/cmake/Modules/FindClang.cmake.orig	2017-06-22 12:25:51.350745000 +0300
+++ codelite/cmake/Modules/FindClang.cmake	2017-06-22 12:27:27.276231600 +0300
@@ -62,7 +62,7 @@
   if (MINGW)
     set(CLANG_LDFLAGS "${CLANG_LDFLAGS} ${LLVM_SYSTEM_LIBS}")
   endif()
-  
+  string(STRIP ${CLANG_LDFLAGS} CLANG_LDFLAGS)
 else (CLANG_FOUND)
   if (CLANG_FIND_REQUIRED)
     message(FATAL_ERROR "Could NOT find Clang")
