[PATCH] D109979: [Clang] [Fix] Clang build fails when build directory contains space character
Shivam Gupta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 20 05:49:40 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfae57a6a9795: [Clang] [Fix] Clang build fails when build directory contains space character (authored by Brain Swift <bsp2bsp-llvm at yahoo.com>, committed by xgupta).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109979/new/
https://reviews.llvm.org/D109979
Files:
clang/tools/driver/CMakeLists.txt
Index: clang/tools/driver/CMakeLists.txt
===================================================================
--- clang/tools/driver/CMakeLists.txt
+++ clang/tools/driver/CMakeLists.txt
@@ -82,7 +82,7 @@
set(TOOL_INFO_PLIST_OUT "${CMAKE_CURRENT_BINARY_DIR}/${TOOL_INFO_PLIST}")
target_link_libraries(clang
PRIVATE
- "-Wl,-sectcreate,__TEXT,__info_plist,${TOOL_INFO_PLIST_OUT}")
+ "-Wl,-sectcreate,__TEXT,__info_plist,\"${TOOL_INFO_PLIST_OUT}\"")
configure_file("${TOOL_INFO_PLIST}.in" "${TOOL_INFO_PLIST_OUT}" @ONLY)
set(TOOL_INFO_UTI)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109979.373563.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210920/6a880255/attachment.bin>
More information about the cfe-commits
mailing list