Skip to content

mk: Ensure LINK_$(1) is defined for all targets#25799

Merged
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:fix-link-in-mk
May 27, 2015
Merged

mk: Ensure LINK_$(1) is defined for all targets#25799
bors merged 1 commit into
rust-lang:masterfrom
alexcrichton:fix-link-in-mk

Conversation

@alexcrichton

Copy link
Copy Markdown
Member

The changes scaled back in 4cc025d were a little too aggressive and broke a
bunch of cross compilations by not defining the LINK_$(1) variable for all
targets. This commit ensures that the variable is defined for all targets by
defaulting it to the normal compiler if it's not already defined (it's only
defined specially for MSVC).

Closes #25723
Closes #25802

@alexcrichton

Copy link
Copy Markdown
Member Author

r? @pnkfelix

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

The changes scaled back in 4cc025d were a little too aggressive and broke a
bunch of cross compilations by not defining the `LINK_$(1)` variable for all
targets. This commit ensures that the variable is defined for all targets by
defaulting it to the normal compiler if it's not already defined (it's only
defined specially for MSVC).

Closes rust-lang#25723
@luqmana

luqmana commented May 26, 2015

Copy link
Copy Markdown
Contributor

@bors: r+

@bors

bors commented May 26, 2015

Copy link
Copy Markdown
Collaborator

📌 Commit bc7c62d has been approved by luqmana

@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit bc7c62d with merge 861b1d0...

bors added a commit that referenced this pull request May 27, 2015
The changes scaled back in 4cc025d were a little too aggressive and broke a
bunch of cross compilations by not defining the `LINK_$(1)` variable for all
targets. This commit ensures that the variable is defined for all targets by
defaulting it to the normal compiler if it's not already defined (it's only
defined specially for MSVC).

Closes #25723
@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-win-gnu-64-opt

@alexcrichton

Copy link
Copy Markdown
Member Author

@bors: retry

On Wed, May 27, 2015 at 8:02 AM, bors notifications@github.com wrote:

[image: 💔] Test failed - auto-win-gnu-64-opt
http://buildbot.rust-lang.org/builders/auto-win-gnu-64-opt/builds/91


Reply to this email directly or view it on GitHub
#25799 (comment).

bors added a commit that referenced this pull request May 27, 2015
The changes scaled back in 4cc025d were a little too aggressive and broke a
bunch of cross compilations by not defining the `LINK_$(1)` variable for all
targets. This commit ensures that the variable is defined for all targets by
defaulting it to the normal compiler if it's not already defined (it's only
defined specially for MSVC).

Closes #25723
Closes #25802
@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit bc7c62d with merge af60248...

@bors

bors commented May 27, 2015

Copy link
Copy Markdown
Collaborator

@bors bors merged commit bc7c62d into rust-lang:master May 27, 2015
@alexcrichton alexcrichton deleted the fix-link-in-mk branch July 17, 2015 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Building rustc broken for multiple targets due to lack of LINK_ entry in cfg/mk/*.mk Builds with multiple --host's are broken

6 participants