diff --git a/.github/build-canary-v3 b/.github/build-canary-v3 index 1e8b314..7f8f011 100644 --- a/.github/build-canary-v3 +++ b/.github/build-canary-v3 @@ -1 +1 @@ -6 +7 diff --git a/debian/rules b/debian/rules index c6b409c..4724dc3 100755 --- a/debian/rules +++ b/debian/rules @@ -4,12 +4,12 @@ ## Output every command that modifies files on the build system. export DH_VERBOSE = 1 -export PIKA_BUILD_ARCH = $(shell cat pika-build-arch) +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-v34 -Clinker-plugin-lto -Copt-level=34" +export RUSTFLAGS="-C target-cpu=x86-64-v3 -Clinker-plugin-lto -Copt-level=3" endif BUILDFLAGS := --release diff --git a/main.sh b/main.sh index 69961b8..0df742e 100755 --- a/main.sh +++ b/main.sh @@ -6,14 +6,14 @@ VERSION="1.3.1.git" source ./pika-build-config.sh +echo "$PIKA_BUILD_ARCH" > pika-build-arch + # Clone Upstream #git clone https://github.com/waycrate/wayshot.git --recurse-submodules -b "$VERSION" git clone https://github.com/waycrate/wayshot.git --recurse-submodules cp -rvf ./debian ./wayshot cd ./wayshot -echo "$PIKA_BUILD_ARCH" > pika-build-arch - # Get build deps apt-get build-dep ./ -y