Skip to content

Commit 00f7776

Browse files
committed
mk: Make nightlyism a configure option
1 parent d252539 commit 00f7776

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

configure

+1
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ opt local-rust 0 "use an installed rustc rather than downloading a snapshot"
383383
opt pax-flags 0 "apply PaX flags to rustc binaries (required for GRSecurity/PaX-patched kernels)"
384384
opt inject-std-version 1 "inject the current compiler version of libstd into programs"
385385
opt rpath 1 "build rpaths into rustc itself"
386+
opt nightly 0 "build nightly packages"
386387
valopt prefix "/usr/local" "set installation prefix"
387388
valopt local-rust-root "/usr/local" "set prefix for local rust binary"
388389
valopt llvm-root "" "set LLVM root"

mk/main.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
CFG_RELEASE_NUM=0.10
1717
CFG_RELEASE_LABEL=-pre
1818

19-
ifndef CFG_NIGHTLY
19+
ifndef CFG_ENABLE_NIGHTLY
2020
# This is the normal version string
2121
CFG_RELEASE=$(CFG_RELEASE_NUM)$(CFG_RELEASE_LABEL)
2222
CFG_PACKAGE_VERS=$(CFG_RELEASE)

0 commit comments

Comments
 (0)