UBUNTU: [Packaging]: always use fully qualified <triplet>-gcc-VER toolchain
authorDimitri John Ledkov <dimitri.ledkov@canonical.com>
Mon, 25 Jul 2022 17:15:13 +0000 (18:15 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Oct 2022 13:24:16 +0000 (15:24 +0200)
commita3414e452bb6d0df5db0fe9cf187e60c3bfe5b26
tree039c1985000fb7a0354bc3b235bedcef416e0657
parent223b4c726e727f23d448a5ba3282e05e92509819
UBUNTU: [Packaging]: always use fully qualified <triplet>-gcc-VER toolchain

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@canonical.com>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
debian.master/config/amd64/config.common.amd64
debian.master/config/arm64/config.common.arm64
debian.master/config/armhf/config.common.armhf
debian.master/config/ppc64el/config.common.ppc64el
debian.master/config/riscv64/config.common.riscv64
debian.master/config/s390x/config.common.s390x
debian/rules
debian/rules.d/0-common-vars.mk
debian/rules.d/2-binary-arch.mk
debian/scripts/misc/kernelconfig