From b627ca9dd4e12d64ac36f7eb2d83aab2672e8360 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Fri, 26 Jul 2024 22:12:03 +0300 Subject: [PATCH] test cargo build opts --- .github/build-canary-v3 | 2 +- debian/rules | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/build-canary-v3 b/.github/build-canary-v3 index 7ed6ff8..1e8b314 100644 --- a/.github/build-canary-v3 +++ b/.github/build-canary-v3 @@ -1 +1 @@ -5 +6 diff --git a/debian/rules b/debian/rules index 63811ae..c6b409c 100755 --- a/debian/rules +++ b/debian/rules @@ -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