I'm on macOS 10.15 Catalina but I am still using Xcode 10.1. I know from experience quoting in Tcl is not quiet like Bash (expansion quoting is not necessary) so this fixes them and allows zstd to build.
Without this fix, the last quote in CXXFLAGS is not detected so the command is incomplete as it looks for the last ", which still seems incorrect as the command would be "/some/clang" "-Os somefile (even if the final quote were present it would still be incorrect for shell anyway).
Probably should do a squash merge for this as I do not know why the other commits are here.
I'm on macOS 10.15 Catalina but I am still using Xcode 10.1. I know from experience quoting in Tcl is not quiet like Bash (expansion quoting is not necessary) so this fixes them and allows zstd to build.
Without this fix, the last quote in
CXXFLAGS
is not detected so the command is incomplete as it looks for the last"
, which still seems incorrect as the command would be"/some/clang" "-Os somefile
(even if the final quote were present it would still be incorrect for shell anyway).Probably should do a squash merge for this as I do not know why the other commits are here.