[update] Sort the source file path (#5783)

This commit is contained in:
LiuKang 2022-04-08 12:55:05 +08:00 committed by GitHub
parent 28b4db91c3
commit e1ef28a79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -557,6 +557,7 @@ def AddDepend(option):
def MergeGroup(src_group, group):
src_group['src'] = src_group['src'] + group['src']
src_group['src'].sort()
if 'CFLAGS' in group:
if 'CFLAGS' in src_group:
src_group['CFLAGS'] = src_group['CFLAGS'] + group['CFLAGS']