================
@@ -6,3 +6,6 @@ include Makefile.rules
 # Copy file into the build folder to enable the test to modify it.
 main-copy.cpp: main.cpp
        cp -f $< $@
+ifneq "$(OS)" "Windows_NT"  # chmod is not available on Windows
----------------
igorkudrin wrote:

If I understand correctly, we rely on some Unix-like tools on Windows anyway; 
otherwise, `cp` would not be available. Such toolsets, e.g., MSYS2, provide 
`chmod`, so you can drop the conditions.

https://github.com/llvm/llvm-project/pull/113251
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to