Skip to content

Commit d066aae

Browse files
committed
Two changes required by zlib-1.2.8 (.lo and -v)
1 parent 2748c49 commit d066aae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

driver/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
7878

7979
#iam: presumably the len(inputFiles) == 0 in this case
8080
'--version' : (0, ArgumentListFilter.compileOnlyCallback),
81+
'-v' : (0, ArgumentListFilter.compileOnlyCallback),
8182

8283
#warnings (apart from the regex below)
8384
'-w' : (0, ArgumentListFilter.compileOnlyCallback),
@@ -224,7 +225,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
224225
r'^.+\.(c|cc|cpp|C|cxx|i|s|S)$' : (0, ArgumentListFilter.inputFileCallback),
225226
#iam: the object file recogition is not really very robust, object files
226227
# should be determined by their existance and contents...
227-
r'^.+\.(o|So|po|a)$' : (0, ArgumentListFilter.objectFileCallback),
228+
r'^.+\.(o|lo|So|po|a)$' : (0, ArgumentListFilter.objectFileCallback),
228229
r'^-(l|L).+$' : (0, ArgumentListFilter.linkUnaryCallback),
229230
r'^-I.+$' : (0, ArgumentListFilter.compileUnaryCallback),
230231
r'^-D.+$' : (0, ArgumentListFilter.compileUnaryCallback),

0 commit comments

Comments
 (0)