зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1475650: Use llvm-lib when linking with lld-link. r=froydnj
This commit is contained in:
Родитель
795a144659
Коммит
99f9246f52
|
@ -677,8 +677,16 @@ case "$target" in
|
|||
if test "$AS_BIN"; then
|
||||
AS="$(basename "$AS_BIN")"
|
||||
fi
|
||||
AR='lib'
|
||||
AR_FLAGS='-NOLOGO -OUT:$@'
|
||||
case "$LINKER" in
|
||||
*lld*)
|
||||
AR='llvm-lib'
|
||||
AR_FLAGS='-llvmlibthin -out:$@'
|
||||
;;
|
||||
*)
|
||||
AR='lib'
|
||||
AR_FLAGS='-NOLOGO -OUT:$@'
|
||||
;;
|
||||
esac
|
||||
AR_EXTRACT=
|
||||
RANLIB='echo not_ranlib'
|
||||
STRIP='echo not_strip'
|
||||
|
|
|
@ -889,8 +889,16 @@ case "$target" in
|
|||
if test "$AS_BIN"; then
|
||||
AS="$(basename "$AS_BIN")"
|
||||
fi
|
||||
AR='lib'
|
||||
AR_FLAGS='-NOLOGO -OUT:$@'
|
||||
case "$LINKER" in
|
||||
*lld*)
|
||||
AR='llvm-lib'
|
||||
AR_FLAGS='-llvmlibthin -out:$@'
|
||||
;;
|
||||
*)
|
||||
AR='lib'
|
||||
AR_FLAGS='-NOLOGO -OUT:$@'
|
||||
;;
|
||||
esac
|
||||
AR_EXTRACT=
|
||||
RANLIB='echo not_ranlib'
|
||||
STRIP='echo not_strip'
|
||||
|
|
Загрузка…
Ссылка в новой задаче