summaryrefslogtreecommitdiff
path: root/Toolchain/BuildClang.sh
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2023-03-23 02:12:41 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-04-02 00:05:03 -0600
commit57516c3a9ee140b20b39d4b9ca60ed4a2c3691b1 (patch)
tree4cd0273cd650b8b7e9cbe8ec14dc8410c46224fc /Toolchain/BuildClang.sh
parent9cded6e1b531cfdaed1b3458b571d5dee9b1599f (diff)
downloadserenity-57516c3a9ee140b20b39d4b9ca60ed4a2c3691b1.zip
Toolchain: Create an `nm` symlink for Clang
This is required for building the QEMU port using Clang.
Diffstat (limited to 'Toolchain/BuildClang.sh')
-rwxr-xr-xToolchain/BuildClang.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh
index 6238dee1c6..985278f9bf 100755
--- a/Toolchain/BuildClang.sh
+++ b/Toolchain/BuildClang.sh
@@ -325,6 +325,7 @@ pushd "$DIR/Local/clang/bin/"
for arch in $ARCHS; do
ln -s clang "$arch"-pc-serenity-clang
ln -s clang++ "$arch"-pc-serenity-clang++
+ ln -s llvm-nm "$arch"-pc-serenity-nm
echo "--sysroot=$BUILD/${arch}clang/Root" > "$arch"-pc-serenity.cfg
done
popd