generated from general-packages/pika-pkg-template
Update debian/rules
This commit is contained in:
parent
2356adc2fd
commit
e1b8699c5d
4
debian/rules
vendored
4
debian/rules
vendored
@ -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
|
||||
|
||||
|
||||
%:
|
||||
|
Loading…
Reference in New Issue
Block a user