File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 22CC="clang"
33CXX="clang++"
44
5- # call Clang to link, it will invoke lld if needed
6- # from man clang:
7- # The clang executable is actually a small driver which controls the overall
8- # execution of other tools such as the compiler, assembler and linker.
9- # Typically you do not need to interact with the driver, but you transparently
10- # use it to run the other tools
11- LD="clang"
5+ # this works with libtool
6+ LD="ld.lld"
127
138# some linker flags
149LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
1510
1611# use LLVM-provided binutils
1712AR="llvm-ar"
13+ AS="llvm-as"
1814NM="llvm-nm"
15+ STRIP="llvm-strip"
1916RANLIB="llvm-ranlib"
17+ OBJCOPY="llvm-objcopy"
18+ STRINGS="llvm-strings"
19+ OBJDUMP="llvm-objdump"
20+ READELF="llvm-readelf"
21+ ADDR2LINE="llvm-addr2line"
2022
2123# curl needed by cmake
2224BOOTSTRAP_USE="$BOOTSTRAP_USE ssl curl_ssl_openssl"
You can’t perform that action at this time.
0 commit comments