Skip to content

Commit

Permalink
build: Use c++17 when compiling googleurl (#12269)
Browse files Browse the repository at this point in the history
Signed-off-by: Dhi Aurrahman <dio@tetrate.io>
  • Loading branch information
dio authored Jul 24, 2020
1 parent 20c32d2 commit 2a34c76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bazel/external/googleurl.patch
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ index d5fca65..fc0d7e5 100644
-]
+_default_copts = select({
+ "@envoy//bazel:windows_x86_64": [
+ "/std:c++14",
+ "/std:c++17",
+ ],
+ "//conditions:default": [
+ "-std=c++14",
+ "-std=c++17",
+ "-fno-strict-aliasing",
+ ],
+})
Expand Down Expand Up @@ -114,6 +114,6 @@ index 0126bdc..5d1a171 100644
"//base",
"//base/strings",
"//polyfills",
+ "@org_unicode_icuuc//:common",
+ "@org_unicode_icuuc//:common",
],
)

0 comments on commit 2a34c76

Please sign in to comment.