From e1b8699c5dceb75806049d943364ea495e710465 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Sat, 10 Aug 2024 00:07:35 +0200 Subject: [PATCH] Update debian/rules --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index b109191..a956720 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,10 @@ export DEB_BUILD_MAINT_OPTIONS = optimize=-lto -Wno-incompatible-pointer-types - # Prefer gcc-4.5, then 4.7, then 4.9 - otherwise fallback to gcc. export CC = $(shell for _cc in gcc-4.5 gcc-4.7 gcc-4.9 gcc false; do \ if which "$$_cc" >/dev/null 2>&1; then echo "$$_cc"; break; fi; done) + +ifeq ($(DEB_BUILD_ARCH), i386) + export CC = gcc-13 +endif %: