Specify linkers for cross-compile scenarios
The recent MSVC patch made the build system pass explicit linkers to rustc, but did not set that up for anything other than MSVC.
This commit is contained in:
parent
c3d60aba6c
commit
1cda3236c9
@ -1,5 +1,6 @@
|
||||
# i686-apple-darwin configuration
|
||||
CC_i686-apple-darwin=$(CC)
|
||||
LINK_i686-apple-darwin=cc
|
||||
CXX_i686-apple-darwin=$(CXX)
|
||||
CPP_i686-apple-darwin=$(CPP)
|
||||
AR_i686-apple-darwin=$(AR)
|
||||
|
@ -1,5 +1,6 @@
|
||||
# i686-unknown-linux-gnu configuration
|
||||
CC_i686-unknown-linux-gnu=$(CC)
|
||||
LINK_i686-unknown-linux-gnu=cc
|
||||
CXX_i686-unknown-linux-gnu=$(CXX)
|
||||
CPP_i686-unknown-linux-gnu=$(CPP)
|
||||
AR_i686-unknown-linux-gnu=$(AR)
|
||||
|
@ -1,5 +1,6 @@
|
||||
# x86_64-apple-darwin configuration
|
||||
CC_x86_64-apple-darwin=$(CC)
|
||||
LINK_x86_64-apple-darwin=cc
|
||||
CXX_x86_64-apple-darwin=$(CXX)
|
||||
CPP_x86_64-apple-darwin=$(CPP)
|
||||
AR_x86_64-apple-darwin=$(AR)
|
||||
|
@ -1,5 +1,6 @@
|
||||
# x86_64-unknown-linux-gnu configuration
|
||||
CC_x86_64-unknown-linux-gnu=$(CC)
|
||||
LINK_x86_64-unknown-linux-gnu=cc
|
||||
CXX_x86_64-unknown-linux-gnu=$(CXX)
|
||||
CPP_x86_64-unknown-linux-gnu=$(CPP)
|
||||
AR_x86_64-unknown-linux-gnu=$(AR)
|
||||
|
Loading…
Reference in New Issue
Block a user