APPLIED: [KINETIC][PATCH] UBUNTU: [Packaging]: always use fully qualified <triplet>-gcc-VER toolchain
Andrea Righi
andrea.righi at canonical.com
Tue Jul 26 12:23:10 UTC 2022
On Mon, Jul 25, 2022 at 06:15:13PM +0100, Dimitri John Ledkov wrote:
> Always define $(gcc) variable and export it. Always use fully
> qualified <triplet>-gcc-VER toolchains for native (GNU build) and
> cross (GNU host) compilation. Generate matching build-dependencies for
> native and cross builds.
>
> This ensures that native and cross builds use the same fully qualified
> toolchain binary, fixed in time, irrespective of gcc-defaults updates.
>
> Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
Applied to kinetic/linux. In this way we can still build the kernel
relying on gcc-11 for now, even if the default moved to gcc-12.
Thanks,
-Andrea
More information about the kernel-team
mailing list