test cargo build opts
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 11s

This commit is contained in:
Ward from fusion-voyager-3 2024-07-26 22:12:03 +03:00
parent 84902aa600
commit b627ca9dd4
2 changed files with 3 additions and 5 deletions

View File

@ -1 +1 @@
5
6

6
debian/rules vendored
View File

@ -9,12 +9,10 @@ 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 -Clinker-plugin-lto -Copt-level=3"
BUILDFLAGS := "--release -C target-cpu=x86-64-v3 -Clinker-plugin-lto -Copt-level=3"
else
BUILDFLAGS := --release
export RUSTFLAGS="-C target-cpu=x86-64-v34 -Clinker-plugin-lto -Copt-level=34"
endif
BUILDFLAGS := --release
BINARY := wayshot
TARGET_DIR := $(DESTDIR)/usr/bin
SOURCE_DIR := ./target/release