Add -std=c++11 for darwin build.
Unified · Split
| @@ -734,6 +734,7 @@ process_toolchain() { · 733 unmodified lines | |||
| 734 | # GTestLog must be modified to use Android logging utilities. | 734 | # GTestLog must be modified to use Android logging utilities. |
| 735 | ;; | 735 | ;; |
| 736 | *-darwin-*) | 736 | *-darwin-*) |
| 737 | check_add_cxxflags -std=c++11 | ||
| 737 | # iOS/ARM builds do not work with gtest. This does not match | 738 | # iOS/ARM builds do not work with gtest. This does not match |
| 738 | # x86 targets. | 739 | # x86 targets. |
| 739 | ;; | 740 | ;; |