mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Toolchain: Add $arch-pc-serenity-clang symlink
This will allow us to build ports that don't allow the --target and --sysroot compiler arguments to be specified in $CC/$CXX.
This commit is contained in:
parent
c8fa0c3cd7
commit
d4d6f2d945
1 changed files with 7 additions and 1 deletions
|
@ -321,7 +321,13 @@ pushd "$DIR/Build/clang"
|
|||
popd
|
||||
|
||||
pushd "$DIR/Local/clang/bin/"
|
||||
buildstep "mold_symlink" ln -s ../../mold/bin/mold ld.mold
|
||||
ln -s ../../mold/bin/mold ld.mold
|
||||
|
||||
for arch in $ARCHS; do
|
||||
ln -s clang "$arch"-pc-serenity-clang
|
||||
ln -s clang++ "$arch"-pc-serenity-clang++
|
||||
echo "--sysroot=$BUILD/${arch}clang/Root" > "$arch"-pc-serenity.cfg
|
||||
done
|
||||
popd
|
||||
|
||||
# === SAVE TO CACHE ===
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue