Update debian/rules

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-08-10 00:07:35 +02:00
parent 2356adc2fd
commit e1b8699c5d

4
debian/rules vendored
View File

@ -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
%: