* [PATCH 1/1] BaseTools: Add quotes around OBJCOPY cmd in build_rule.template
@ 2023-04-24 13:47 Rebecca Cran
0 siblings, 0 replies; only message in thread
From: Rebecca Cran @ 2023-04-24 13:47 UTC (permalink / raw)
To: devel, Liming Gao, Bob Feng, Yuwei Chen; +Cc: Rebecca Cran
Add quotes around the OBJCOPY command in build_rule.template to fix the
case where LLVM is installed on Windows in a path with spaces such as
C:\Program Files\LLVM.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
---
BaseTools/Conf/build_rule.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index d42e7937cc90..117f16d5ef49 100755
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -352,7 +352,7 @@
-$(CP) $(DEBUG_DIR)(+)*.pdb $(OUTPUT_DIR)
<Command.GCC>
$(CP) ${src} $(DEBUG_DIR)(+)$(MODULE_NAME).debug
- $(OBJCOPY) $(OBJCOPY_STRIPFLAG) ${src}
+ "$(OBJCOPY)" $(OBJCOPY_STRIPFLAG) ${src}
#
#The below 2 lines are only needed for UNIXGCC tool chain, which generates PE image directly
--
2.40.0.windows.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-24 13:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 13:47 [PATCH 1/1] BaseTools: Add quotes around OBJCOPY cmd in build_rule.template Rebecca Cran
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox