Skip to content

Commit bf95a28

Browse files
committed
Conflicts: driver/utils.py
2 parents 4847f89 + a82b88d commit bf95a28

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

driver/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,12 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
215215
r'^.+\.(c|cc|cpp|C|cxx|i|s|S)$' : (0, ArgumentListFilter.inputFileCallback),
216216
#iam: the object file recogition is not really very robust, object files
217217
# should be determined by their existance and contents...
218-
r'^.+\.(o|lo|So|po|a)$' : (0, ArgumentListFilter.objectFileCallback),
218+
r'^.+\.(o|lo|So|so|po|a)$' : (0, ArgumentListFilter.objectFileCallback),
219219
r'^-(l|L).+$' : (0, ArgumentListFilter.linkUnaryCallback),
220220
r'^-I.+$' : (0, ArgumentListFilter.compileUnaryCallback),
221221
r'^-D.+$' : (0, ArgumentListFilter.compileUnaryCallback),
222-
#iam: hopefully the order of these is preserved, time will tell
223222
r'^-Wl,.+$' : (0, ArgumentListFilter.linkUnaryCallback),
224-
r'^-W.+$' : (0, ArgumentListFilter.compileUnaryCallback),
223+
r'^-W(?!l,).*$' : (0, ArgumentListFilter.compileUnaryCallback),
225224
r'^-f.+$' : (0, ArgumentListFilter.compileUnaryCallback),
226225
r'^-std=.+$' : (0, ArgumentListFilter.compileUnaryCallback),
227226
}

0 commit comments

Comments
 (0)