From: Palmer Dabbelt Date: Fri, 9 Feb 2024 16:53:24 +0000 (-0800) Subject: RISC-V: Point our Python scripts at python3 X-Git-Tag: basepoints/gcc-15~995 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f5da91ccb4927562ea4d1c245639bfd4a0088b;p=thirdparty%2Fgcc.git RISC-V: Point our Python scripts at python3 This builds for me, and I frequently have python-is-python3 type packages installed so I think I've been implicitly testing it for a while. Looks like Kito's tested similar configurations, and the bugzilla indicates we should be moving over. gcc/ChangeLog: PR other/109668 * config/riscv/arch-canonicalize: Move to python3 * config/riscv/multilib-generator: Likewise --- diff --git a/gcc/config/riscv/arch-canonicalize b/gcc/config/riscv/arch-canonicalize index 629bed853471..8f7d040cdeb9 100755 --- a/gcc/config/riscv/arch-canonicalize +++ b/gcc/config/riscv/arch-canonicalize @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Tool for canonical RISC-V architecture string. # Copyright (C) 2011-2024 Free Software Foundation, Inc. diff --git a/gcc/config/riscv/multilib-generator b/gcc/config/riscv/multilib-generator index 1a957878d0cb..25cb6762ea73 100755 --- a/gcc/config/riscv/multilib-generator +++ b/gcc/config/riscv/multilib-generator @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # RISC-V multilib list generator. # Copyright (C) 2011-2024 Free Software Foundation, Inc.