Update debian/rules

This commit is contained in:
Ward Nakchbandi (CosmicFusion) 2024-12-05 18:49:46 +01:00
parent 1eb0a3d13c
commit 6fd344f600

2
debian/rules vendored
View File

@ -5,7 +5,7 @@ export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
override_dh_prep:
# amd64 build prep
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3 -C lto=fat -C embed-bitcode -C codegen-units=1
export RUSTFLAGS = -C target-cpu=x86-64-v3 -C opt-level=3 -C lto=fat -C embed-bitcode -C codegen-units=1 -Zdylib-lto
endif
%: