File tree 3 files changed +9
-1
lines changed
3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ NSYNC_OPTS = select({
138
138
# Select the compiler include directory.
139
139
":gcc" : ["-I" + pkg_path_name () + "/platform/gcc" ],
140
140
":clang" : ["-I" + pkg_path_name () + "/platform/clang" ],
141
+ ":clang-cl" : ["-I" + pkg_path_name () + "/platform/clang" ],
141
142
":msvc-cl" : ["-I" + pkg_path_name () + "/platform/msvc" ],
142
143
"//conditions:default" : ["-I" + pkg_path_name () + "/platform/gcc" ],
143
144
}) + select ({
@@ -152,6 +153,7 @@ NSYNC_OPTS = select({
152
153
# Options for C++11 build, rather then C build.
153
154
NSYNC_OPTS_CPP = select ({
154
155
":msvc-cl" : ["/TP" ],
156
+ ":clang-cl" : ["/TP" ],
155
157
"//conditions:default" : [
156
158
"-x" ,
157
159
"c++" ,
@@ -198,12 +200,14 @@ NSYNC_OPTS_CPP = select({
198
200
# Link options (for tests) built in C (rather than C++11).
199
201
NSYNC_LINK_OPTS = select ({
200
202
":msvc-cl" : [],
203
+ ":clang-cl" : [],
201
204
"//conditions:default" : ["-pthread" ],
202
205
})
203
206
204
207
# Link options (for tests) built in C++11 (rather than C).
205
208
NSYNC_LINK_OPTS_CPP = select ({
206
209
":msvc-cl" : [],
210
+ ":clang-cl" : [],
207
211
"//conditions:default" : ["-pthread" ],
208
212
})
209
213
Original file line number Diff line number Diff line change 1
- 1.29.1
1
+ 1.29.2
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ NSYNC_OPTS = select({
138
138
# Select the compiler include directory.
139
139
":gcc" : ["-I" + pkg_path_name () + "/platform/gcc" ],
140
140
":clang" : ["-I" + pkg_path_name () + "/platform/clang" ],
141
+ ":clang-cl" : ["-I" + pkg_path_name () + "/platform/clang" ],
141
142
":msvc-cl" : ["-I" + pkg_path_name () + "/platform/msvc" ],
142
143
"//conditions:default" : ["-I" + pkg_path_name () + "/platform/gcc" ],
143
144
}) + select ({
@@ -152,6 +153,7 @@ NSYNC_OPTS = select({
152
153
# Options for C++11 build, rather then C build.
153
154
NSYNC_OPTS_CPP = select ({
154
155
":msvc-cl" : ["/TP" ],
156
+ ":clang-cl" : ["/TP" ],
155
157
"//conditions:default" : [
156
158
"-x" ,
157
159
"c++" ,
@@ -198,12 +200,14 @@ NSYNC_OPTS_CPP = select({
198
200
# Link options (for tests) built in C (rather than C++11).
199
201
NSYNC_LINK_OPTS = select ({
200
202
":msvc-cl" : [],
203
+ ":clang-cl" : [],
201
204
"//conditions:default" : ["-pthread" ],
202
205
})
203
206
204
207
# Link options (for tests) built in C++11 (rather than C).
205
208
NSYNC_LINK_OPTS_CPP = select ({
206
209
":msvc-cl" : [],
210
+ ":clang-cl" : [],
207
211
"//conditions:default" : ["-pthread" ],
208
212
})
209
213
You can’t perform that action at this time.
0 commit comments