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-06-16 09:39:33 -04:00
2019-06-29 14:45:55 +00:00
2019-04-07 09:38:50 +00:00
2019-06-17 17:43:41 +02:00
2019-02-26 13:38:51 -08:00
2019-06-03 14:30:02 +03:00
2019-05-22 23:43:18 +02:00
2019-05-19 15:20:34 -07:00
2019-06-12 16:20:00 -05:00
2019-04-30 19:01:01 +02:00
2019-06-22 19:03:47 -07:00
2019-03-05 18:50:17 +01:00
2019-04-28 19:05:54 +02:00
2019-05-13 19:38:22 -05:00
2019-05-24 21:00:00 -05:00
2019-05-27 19:55:42 +02:00
2019-06-18 20:34:31 -06:00
2019-04-11 23:03:18 +02:00
2019-05-02 23:58:48 +02:00
2019-05-01 11:15:19 +02:00
2019-06-16 16:58:46 -07:00
2019-06-18 10:13:25 -07:00
2019-03-26 18:27:54 -05:00
2019-04-09 00:32:55 +02:00
2019-02-19 20:39:25 +01:00
2019-05-01 11:14:30 +02:00
2019-05-02 11:32:37 +02:00
2019-03-09 08:01:55 -05:00
2019-06-23 15:00:26 +02:00
2019-04-10 13:33:06 -07:00
2019-05-08 09:29:37 +02:00
2019-06-03 10:07:38 +08:00
2019-03-20 13:42:13 +02:00
2019-04-14 18:55:39 -07:00
2019-05-23 20:04:56 -05:00
2019-06-01 18:29:38 -07:00
2019-06-23 12:09:11 -05:00
2019-02-19 20:45:53 +01:00
2019-03-27 23:02:52 +01:00
2019-06-23 09:34:53 +03:00
2019-04-22 22:18:42 +01:00
2019-03-14 20:32:53 +01:00
2019-05-26 18:50:03 +09:00
2019-06-15 19:06:37 +02:00
2019-05-19 12:45:02 +02:00
2019-05-09 09:58:35 +02:00
2019-04-09 22:20:00 +01:00
2019-04-07 15:55:38 +02:00
2019-05-03 18:57:51 +02:00
2019-05-24 01:15:34 -07:00
2019-06-01 22:11:38 -05:00
2019-06-27 00:03:44 +08:00
2019-05-03 11:28:23 +02:00
2019-05-24 07:04:13 -05:00
2019-05-13 19:59:27 +02:00
2019-06-25 12:08:23 +08:00
2019-06-07 10:05:59 +02:00
2019-05-31 09:34:10 +02:00
2019-06-04 00:03:08 -04:00
2019-06-01 21:59:20 -05:00
2019-03-23 20:31:21 -04:00
2019-03-23 01:19:29 -05:00
2019-04-22 14:27:44 -05:00
2019-04-05 12:13:56 +02:00
2019-03-12 15:29:39 -04:00
2019-05-24 09:29:44 -07:00
2019-05-13 04:41:54 -07:00
2019-05-03 21:04:37 +01:00
2019-06-18 11:49:02 -07:00
2019-06-24 16:16:21 +02:00