Bug 676252 part 2 - Use a different object file extension for the first PGO build pass with GCC. r=ted

This commit is contained in:
Mike Hommey
2011-08-29 07:34:12 +02:00
parent ca1abf3f51
commit 8082a1e39e
11 changed files with 69 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ class ExpandArgsMore(ExpandArgs):
subprocess.call(ar_extract + [os.path.abspath(arg)], cwd=tmp)
objs = []
for root, dirs, files in os.walk(tmp):
objs += [relativize(os.path.join(root, f)) for f in files if os.path.splitext(f)[1] == conf.OBJ_SUFFIX]
objs += [relativize(os.path.join(root, f)) for f in files if os.path.splitext(f)[1] in [conf.OBJ_SUFFIX, '.i_o']]
newlist += objs
else:
newlist += [arg]