Skip to content

Commit 5ab6f76

Browse files
committed
force_pic is not available on Winodws
1 parent 5a79f82 commit 5ab6f76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,8 @@ build:clang-cl --copt=-Wno-missing-template-arg-list-after-template-kw
140140
# allow newer protobuf to compile
141141
common --experimental_google_legacy_api
142142

143-
common --force_pic
143+
common:linux --force_pic
144+
common:macos --force_pic
144145

145146
## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
146147
# build --disk_cache=f:/b/d

0 commit comments

Comments
 (0)