@@ -88,6 +88,10 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
88
88
'-integrated-as' : (0 , ArgumentListFilter .compileUnaryCallback ),
89
89
#iam: gcc uses this in both compile and link, but clang only in compile
90
90
'-pthread' : (0 , ArgumentListFilter .compileUnaryCallback ),
91
+ # I think this is a compiler search path flag. It is
92
+ # clang only, so I don't think it counts as a separate CPP
93
+ # flag. Android uses this flag with its clang builds.
94
+ '-nostdlibinc' : (0 , ArgumentListFilter .compileUnaryCallback ),
91
95
92
96
#iam: arm stuff
93
97
'-mno-omit-leaf-frame-pointer' : (0 , ArgumentListFilter .compileUnaryCallback ),
@@ -108,8 +112,10 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
108
112
'-msoft-float' : (0 , ArgumentListFilter .compileUnaryCallback ),
109
113
'-m3dnow' : (0 , ArgumentListFilter .compileUnaryCallback ),
110
114
'-mno-3dnow' : (0 , ArgumentListFilter .compileUnaryCallback ),
115
+ '-m32' : (0 , ArgumentListFilter .compileUnaryCallback ),
116
+ '-m64' : (0 , ArgumentListFilter .compileUnaryCallback ),
117
+ '-mstackrealign' : (0 , ArgumentListFilter .compileUnaryCallback ),
111
118
112
-
113
119
# Preprocessor assertion
114
120
'-A' : (1 , ArgumentListFilter .compileBinaryCallback ),
115
121
'-D' : (1 , ArgumentListFilter .compileBinaryCallback ),
@@ -229,6 +235,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
229
235
r'^-(l|L).+$' : (0 , ArgumentListFilter .linkUnaryCallback ),
230
236
r'^-I.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
231
237
r'^-D.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
238
+ r'^-U.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
232
239
r'^-Wl,.+$' : (0 , ArgumentListFilter .linkUnaryCallback ),
233
240
r'^-W(?!l,).*$' : (0 , ArgumentListFilter .compileUnaryCallback ),
234
241
r'^-f.+$' : (0 , ArgumentListFilter .compileUnaryCallback ),
@@ -238,7 +245,6 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
238
245
239
246
}
240
247
241
-
242
248
#iam: try and keep track of the files, input object, and output
243
249
self .inputList = inputList
244
250
self .inputFiles = []
0 commit comments