Commit 39a3c40d authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz
Browse files

debian: Build reproducibly

parent 963f52bb
......@@ -2,6 +2,13 @@
export CARGO_HOME = $(CURDIR)/debian/cargo
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Don't use paths that may change between builds.
# No need to care about $HOME
# because Cargo will not place any source in ~/.cargo.
# The build directory is a subdirectory of the source directory,
# so it doesn't need to be explicitly taken care of.
export RUSTFLAGS = --remap-path-prefix=$(CURDIR)=/remap-pwd
distrel := $(shell lsb_release --codename --short)
ifneq (,$(filter $(distrel),buster amber))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment