Skip to content

Commit 3bc2dfa

Browse files
Update legacy/builder/builder_utils/utils.go
Co-authored-by: Silvano Cerza <3314350+silvanocerza@users.noreply.github.com>
1 parent 6e0ef40 commit 3bc2dfa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

legacy/builder/builder_utils/utils.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ func CompileFiles(ctx *types.Context, sourcePath *paths.Path, recurse bool, buil
7979
return nil, err
8080
}
8181

82-
validExtensions := []string{".S", ".c", ".cpp"}
82+
validExtensions := []string{}
83+
for ext := range globals.SourceFilesValidExtensions {
84+
validExtensions = append(validExtensions, ext)
85+
}
8386

8487
sources.FilterSuffix(validExtensions...)
8588
ctx.Progress.AddSubSteps(len(sources))

0 commit comments

Comments
 (0)