-
Notifications
You must be signed in to change notification settings - Fork 13.5k
mk: Fix reconfiguring top-level ./configure #26381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In rust-lang#26252 support was added to have prettier paths printed out on failure by not passing the full path to the source file to the compiler, but instead just a small relative path. To preserve this relative path across configurations, the `SREL` variable was used for reconfiguring, but if `SREL` is empty then it will attempt to run the command `configure` which is distinct from running `./configure` (e.g. doesn't run the local script). This commit modifies the `SREL` value to re-run the configure script by setting it to `./` in the case where `SREL` is empty.
r? @brson |
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 2e63604 has been approved by |
⌛ Testing commit 2e63604 with merge 4b6213a... |
💔 Test failed - auto-linux-32-opt |
@bors: retry On Fri, Jun 19, 2015 at 8:51 PM, bors [email protected] wrote:
|
In #26252 support was added to have prettier paths printed out on failure by not passing the full path to the source file to the compiler, but instead just a small relative path. To preserve this relative path across configurations, the `SREL` variable was used for reconfiguring, but if `SREL` is empty then it will attempt to run the command `configure` which is distinct from running `./configure` (e.g. doesn't run the local script). This commit modifies the `SREL` value to re-run the configure script by setting it to `./` in the case where `SREL` is empty.
Thank you for fixing this! |
In #26252 support was added to have prettier paths printed out on failure by not
passing the full path to the source file to the compiler, but instead just a
small relative path. To preserve this relative path across configurations, the
SREL
variable was used for reconfiguring, but ifSREL
is empty then it willattempt to run the command
configure
which is distinct from running./configure
(e.g. doesn't run the local script).This commit modifies the
SREL
value to re-run the configure script by settingit to
./
in the case whereSREL
is empty.