@@ -215,13 +215,12 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
215
215
r'^.+\.(c|cc|cpp|C|cxx|i|s|S)$' : (0 , ArgumentListFilter .inputFileCallback ),
216
216
#iam: the object file recogition is not really very robust, object files
217
217
# 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 ),
219
219
r'^-(l|L).+$' : (0 , ArgumentListFilter .linkUnaryCallback ),
220
220
r'^-I.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
221
221
r'^-D.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
222
- #iam: hopefully the order of these is preserved, time will tell
223
222
r'^-Wl,.+$' : (0 , ArgumentListFilter .linkUnaryCallback ),
224
- r'^-W.+ $' : (0 , ArgumentListFilter .compileUnaryCallback ),
223
+ r'^-W(?!l,).* $' : (0 , ArgumentListFilter .compileUnaryCallback ),
225
224
r'^-f.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
226
225
r'^-std=.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
227
226
}
0 commit comments