diff options
| author | bors <bors@rust-lang.org> | 2016-01-12 03:00:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-12 03:00:00 +0000 |
| commit | dedaebd5a16a053a8f2926d8b48de1a53ab08c4c (patch) | |
| tree | 6b4a091dda135372f5bc263132e310ffe00ef837 | |
| parent | 4405944b9414d9d39d98c988c420b77e93acba96 (diff) | |
| parent | ce81f243404d663efaae4eb3d1e8067d27999381 (diff) | |
Auto merge of #30599 - brson:extra, r=alexcrichton
This mixes in additional information into the hash that is passed to -C extra-filename. It can be used to further distinguish the standard libraries if they must be installed next to each other. Closes #29559 Frankly, I'm not sure if this solves a real problem. It's meant to help with side-by-side and overlapping installations where there are two sets of libs in /usr, but there are other potential issues there as well, including that some of our artifacts don't use this extra-filename munging, and it's not something our installers can support at all. cc @jauhien Do you still think this helps the Gentoo case?
| -rwxr-xr-x | configure | 1 | ||||
| -rw-r--r-- | mk/main.mk | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure index df76d805f82..c42fc047667 100755 --- a/configure +++ b/configure @@ -622,6 +622,7 @@ valopt aarch64-linux-android-ndk "" "aarch64-linux-android NDK standalone path" valopt nacl-cross-path "" "NaCl SDK path (Pepper Canary is recommended). Must be absolute!" valopt release-channel "dev" "the name of the release channel to build" valopt musl-root "/usr/local" "MUSL root installation directory" +valopt extra-filename "" "Additional data that is hashed and passed to the -C extra-filename flag" # Used on systems where "cc" and "ar" are unavailable valopt default-linker "cc" "the default linker" diff --git a/mk/main.mk b/mk/main.mk index 4c4722a76b9..a478cafd6b9 100644 --- a/mk/main.mk +++ b/mk/main.mk @@ -22,7 +22,7 @@ CFG_PRERELEASE_VERSION=.1 # Append a version-dependent hash to each library, so we can install different # versions in the same place -CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE) | $(CFG_HASH_COMMAND)) +CFG_FILENAME_EXTRA=$(shell printf '%s' $(CFG_RELEASE)$(CFG_EXTRA_FILENAME) | $(CFG_HASH_COMMAND)) ifeq ($(CFG_RELEASE_CHANNEL),stable) # This is the normal semver version string, e.g. "0.12.0", "0.12.0-nightly" |
