mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
Bug 1356927 - Use ar and ranlib from cctools on mac builds. r=gps
--HG-- extra : rebase_source : 89275a0930ab6e7629fe05027cfb3ed3e459f800
This commit is contained in:
parent
eba57cc76d
commit
7008b83ac0
@ -17,6 +17,8 @@ if [ -d "$topsrcdir/clang" ]; then
|
||||
export DSYMUTIL=$topsrcdir/clang/bin/llvm-dsymutil
|
||||
# Use an updated linker.
|
||||
ldflags="-B$topsrcdir/cctools/bin"
|
||||
export AR=$topsrcdir/cctools/bin/ar
|
||||
export RANLIB=$topsrcdir/cctools/bin/ranlib
|
||||
elif [ -d "$topsrcdir/../clang" ]; then
|
||||
# comm-central based build
|
||||
export CC=$topsrcdir/../clang/bin/clang
|
||||
@ -25,6 +27,8 @@ elif [ -d "$topsrcdir/../clang" ]; then
|
||||
export DSYMUTIL=$topsrcdir/../clang/bin/llvm-dsymutil
|
||||
# Use an updated linker.
|
||||
ldflags="-B$topsrcdir/../cctools/bin"
|
||||
export AR=$topsrcdir/../cctools/bin/ar
|
||||
export RANLIB=$topsrcdir/../cctools/bin/ranlib
|
||||
fi
|
||||
|
||||
# Ensure the updated linker doesn't generate things our older build tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user