Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
3v1n0 committed Jan 24, 2025
1 parent bdcc478 commit 66ff13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ include /usr/share/rustc/architecture.mk
# The package name for authd, used only locally to avoid repetitions
AUTHD_GO_PACKAGE := $(shell grep-dctrl -s XS-Go-Import-Path -n - ./debian/control)

export GOFLAGS := -ldflags=-X=$(AUTHD_GO_PACKAGE)/internal/consts.Version=$(DEB_UPSTREAM_VERSION) --mod=vendor -buildmode=pie
export GOFLAGS := -ldflags=-X=$(AUTHD_GO_PACKAGE)/internal/consts.Version=$(DEB_VERSION_UPSTREAM) --mod=vendor -buildmode=pie

export DEB_BUILD_MAINT_OPTIONS := optimize=-lto

Expand Down Expand Up @@ -85,7 +85,7 @@ override_dh_auto_configure:
# Go manual if cargo-vendor-filterer is not around, otherwise dh-cargo
# will ensure that what we've filtered is still there.
if ! command -v cargo-vendor-filterer 2>/dev/null; then \
env DEB_CARGO_CRATE="$(DEB_SOURCE)_$(DEB_UPSTREAM_VERSION)"
env DEB_CARGO_CRATE="$(DEB_SOURCE)_$(DEB_VERSION_UPSTREAM)" \
$(CARGO_PATH) prepare-debian "$(CARGO_VENDOR_DIR)"; \
else \
dh_auto_configure --buildsystem=cargo; \
Expand Down

0 comments on commit 66ff13c

Please sign in to comment.