Skip to content

Commit

Permalink
add -fPIC flag
Browse files Browse the repository at this point in the history
  • Loading branch information
levincarmel committed May 15, 2022
1 parent b1cf960 commit cbda1d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bazel/foreign_cc/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,10 @@ envoy_cmake(
"//bazel:windows_x86_64": ["libcurl.lib"],
"//conditions:default": ["libcurl.a"],
}),
env = {
"CXXFLAGS": "-fPIC",
"CFLAGS": "-fPIC",
},
deps = [
":ares",
":nghttp2",
Expand Down

0 comments on commit cbda1d1

Please sign in to comment.