[update] Sort the source file path (#5783)
This commit is contained in:
parent
28b4db91c3
commit
e1ef28a79b
|
@ -557,6 +557,7 @@ def AddDepend(option):
|
||||||
|
|
||||||
def MergeGroup(src_group, group):
|
def MergeGroup(src_group, group):
|
||||||
src_group['src'] = src_group['src'] + group['src']
|
src_group['src'] = src_group['src'] + group['src']
|
||||||
|
src_group['src'].sort()
|
||||||
if 'CFLAGS' in group:
|
if 'CFLAGS' in group:
|
||||||
if 'CFLAGS' in src_group:
|
if 'CFLAGS' in src_group:
|
||||||
src_group['CFLAGS'] = src_group['CFLAGS'] + group['CFLAGS']
|
src_group['CFLAGS'] = src_group['CFLAGS'] + group['CFLAGS']
|
||||||
|
|
Loading…
Reference in New Issue