Skip to content

Commit 0beaf27

Browse files
committed
Merging in tristan's updates.
2 parents 77cb279 + 1f7ce1f commit 0beaf27

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis/apache_clang.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ wget http://apache.mirrors.pair.com//httpd/httpd-${APACHE_VER}.tar.gz
1212
tar xfz httpd-${APACHE_VER}.tar.gz
1313
mv httpd-${APACHE_VER} apache_clang
1414

15-
1615
cd apache_clang
1716
CC=wllvm ./configure
1817
make

driver/utils.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
8888
'-integrated-as' : (0, ArgumentListFilter.compileUnaryCallback),
8989
#iam: gcc uses this in both compile and link, but clang only in compile
9090
'-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),
9195

9296
#iam: arm stuff
9397
'-mno-omit-leaf-frame-pointer' : (0, ArgumentListFilter.compileUnaryCallback),
@@ -108,8 +112,10 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
108112
'-msoft-float' : (0, ArgumentListFilter.compileUnaryCallback),
109113
'-m3dnow' : (0, ArgumentListFilter.compileUnaryCallback),
110114
'-mno-3dnow' : (0, ArgumentListFilter.compileUnaryCallback),
115+
'-m32': (0, ArgumentListFilter.compileUnaryCallback),
116+
'-m64': (0, ArgumentListFilter.compileUnaryCallback),
117+
'-mstackrealign': (0, ArgumentListFilter.compileUnaryCallback),
111118

112-
113119
# Preprocessor assertion
114120
'-A' : (1, ArgumentListFilter.compileBinaryCallback),
115121
'-D' : (1, ArgumentListFilter.compileBinaryCallback),
@@ -229,6 +235,7 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
229235
r'^-(l|L).+$' : (0, ArgumentListFilter.linkUnaryCallback),
230236
r'^-I.+$' : (0, ArgumentListFilter.compileUnaryCallback),
231237
r'^-D.+$' : (0, ArgumentListFilter.compileUnaryCallback),
238+
r'^-U.+$' : (0, ArgumentListFilter.compileUnaryCallback),
232239
r'^-Wl,.+$' : (0, ArgumentListFilter.linkUnaryCallback),
233240
r'^-W(?!l,).*$' : (0, ArgumentListFilter.compileUnaryCallback),
234241
r'^-f.+$' : (0, ArgumentListFilter.compileUnaryCallback),
@@ -238,7 +245,6 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
238245

239246
}
240247

241-
242248
#iam: try and keep track of the files, input object, and output
243249
self.inputList = inputList
244250
self.inputFiles = []

0 commit comments

Comments
 (0)