diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-19 10:12:31 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-19 12:37:42 +0200 |
commit | fc8e2846c24bd62091b31cc35c143b990e79d557 (patch) | |
tree | f4b3689ed2ab101ad4ea68a88881210ea645b9c5 /libjava/gnu | |
parent | 1d0a0173cd3e48f1c7c7e98893d440527fc198d0 (diff) | |
download | gcc-fc8e2846c24bd62091b31cc35c143b990e79d557.zip gcc-fc8e2846c24bd62091b31cc35c143b990e79d557.tar.gz gcc-fc8e2846c24bd62091b31cc35c143b990e79d557.tar.bz2 |
Fix riscv build, no longer works with python2
Building riscv no longer works with python2:
> python ./config/riscv/arch-canonicalize -misa-spec=20191213 rv64gc
File "./config/riscv/arch-canonicalize", line 229
print(f"ERROR: Unhandled conditional dependency: '{ext_name}' with condition:", file=sys.stderr)
^
SyntaxError: invalid syntax
On systems that have python aliased to python2 we chose that, even
when python3 is available. Don't.
* config.gcc (riscv*-*-*): Look for python3, then fall back
to python. Never use python2.
Diffstat (limited to 'libjava/gnu')
0 files changed, 0 insertions, 0 deletions