From 136e7a99ff5986b8f8ef554acdcad2a5047efaad Mon Sep 17 00:00:00 2001 From: alecgarza96 <43724421+alecgarza96@users.noreply.github.com> Date: Thu, 10 Mar 2022 14:40:58 -0600 Subject: [PATCH] added .s file extension for assembly support --- Sources/XCRemoteCache/Commands/Prepare/CCWrapperBuilder.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/XCRemoteCache/Commands/Prepare/CCWrapperBuilder.swift b/Sources/XCRemoteCache/Commands/Prepare/CCWrapperBuilder.swift index 35519d8..e2bb5a5 100644 --- a/Sources/XCRemoteCache/Commands/Prepare/CCWrapperBuilder.swift +++ b/Sources/XCRemoteCache/Commands/Prepare/CCWrapperBuilder.swift @@ -436,7 +436,8 @@ class TemplateBasedCCWrapperBuilder: CCWrapperBuilder { isSuffixed(argv[i],".cc") || isSuffixed(argv[i],".cpp") || isSuffixed(argv[i],".c++") || - isSuffixed(argv[i],".cxx") + isSuffixed(argv[i],".cxx") || + isSuffixed(argv[i],".s") ) { // a full list of extensions is taken from https://clang.llvm.org/docs/ClangFormatStyleOptions.html // support for .m,.mm,.c,.cc,.cpp,.c++,.cxx input files