mirror of
https://git.proxmox.com/git/rustc
synced 2025-05-03 08:14:25 +00:00
debian: set release channel for ./configure
This commit is contained in:
parent
3f9812c21a
commit
d4357a263f
4
debian/rules
vendored
4
debian/rules
vendored
@ -29,12 +29,16 @@ UPSTREAM_RUST_SUFFIX := $(shell echo $(DEB_VERSION_UPSTREAM) | egrep -o '[^\~]+$
|
|||||||
# Private dir for rust .so and .rlib
|
# Private dir for rust .so and .rlib
|
||||||
RUST_PREFIX := usr/lib/$(DEB_HOST_MULTIARCH)/rust/$(MAIN_RUST_VERSION)
|
RUST_PREFIX := usr/lib/$(DEB_HOST_MULTIARCH)/rust/$(MAIN_RUST_VERSION)
|
||||||
|
|
||||||
|
# Release type (one of beta, stable or nightly)
|
||||||
|
RELEASE_CHANNEL := beta
|
||||||
|
|
||||||
DEB_DESTDIR := $(CURDIR)/debian/tmp
|
DEB_DESTDIR := $(CURDIR)/debian/tmp
|
||||||
RUST_TMP_PREFIX := $(DEB_DESTDIR)/$(RUST_PREFIX)
|
RUST_TMP_PREFIX := $(DEB_DESTDIR)/$(RUST_PREFIX)
|
||||||
|
|
||||||
# These are the normal build flags
|
# These are the normal build flags
|
||||||
COMMON_FLAGS = \
|
COMMON_FLAGS = \
|
||||||
--disable-manage-submodules \
|
--disable-manage-submodules \
|
||||||
|
--release-channel=$(RELEASE_CHANNEL) \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--enable-rpath \
|
--enable-rpath \
|
||||||
--prefix=/$(RUST_PREFIX)
|
--prefix=/$(RUST_PREFIX)
|
||||||
|
Loading…
Reference in New Issue
Block a user