Wael Nasreddine c49b7f64d1
bazel: fix the compilation of .proto on Darwin (#63879)
On Darwin, the last argument to GCC is coming up as an empty string.
This is breaking the build of proto_library targets. However, I was not
able to reproduce with the example cpp project[0].

This commit patches the cc_wrapper of Bazel that gets installed on
Darwin to remove the last argument if it's an empty string. This is
not a probem on Linux.

[0]: https://github.com/bazelbuild/examples/tree/master/cpp-tutorial/stage3
2019-06-29 11:07:21 -07:00
..
2019-04-16 18:48:18 +02:00
2019-06-17 23:50:19 -05:00
2019-04-23 04:21:00 -05:00
2019-04-30 17:50:25 +02:00
2019-04-26 21:55:05 -04:00
2019-04-01 20:59:17 +02:00
2019-06-17 01:21:11 -07:00
2019-06-04 17:02:45 +02:00
2019-06-03 13:55:43 -04:00
2019-03-27 11:12:30 +01:00
2019-06-25 11:56:44 +08:00