Drew Macrae | 78a5887 | 2021-09-07 20:52:19 +0000 | [diff] [blame] | 1 | # Copyright lowRISC contributors. |
| 2 | # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
Drew Macrae | 7ac1efb | 2021-09-22 16:08:28 +0000 | [diff] [blame] | 5 | # https://docs.opentitan.org/doc/rm/c_cpp_coding_style/#cxx-version specifies |
Drew Macrae | 78a5887 | 2021-09-07 20:52:19 +0000 | [diff] [blame] | 6 | build --cxxopt='-std=c++14' |
Drew Macrae | 7ac1efb | 2021-09-22 16:08:28 +0000 | [diff] [blame] | 7 | build --conlyopt='-std=c11' |
| 8 | |
| 9 | # Enable toolchain resolution with cc |
| 10 | build --incompatible_enable_cc_toolchain_resolution |