Update debian/rules
This commit is contained in:
parent
b7a5177a71
commit
4356249573
5
debian/rules
vendored
5
debian/rules
vendored
@ -18,11 +18,6 @@ RUST_VERSION = 1.80
|
|||||||
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
export PATH:=/usr/lib/llvm-$(LLVM_VERSION)/bin/:$(PATH)
|
||||||
export PATH:=/usr/lib/rust-$(RUST_VERSION)/bin/:$(PATH)
|
export PATH:=/usr/lib/rust-$(RUST_VERSION)/bin/:$(PATH)
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH), amd64))
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS=optimize=+lto
|
|
||||||
else
|
|
||||||
export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
|
|
||||||
endif
|
|
||||||
export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/
|
export MESON_PACKAGE_CACHE_DIR=/usr/share/cargo/registry/
|
||||||
|
|
||||||
DEB_CFLAGS_MAINT_APPEND := -Wall
|
DEB_CFLAGS_MAINT_APPEND := -Wall
|
||||||
|
Loading…
x
Reference in New Issue
Block a user