mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:27:45 +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
|
popd
|
||||||
|
|
||||||
pushd "$DIR/Local/clang/bin/"
|
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
|
popd
|
||||||
|
|
||||||
# === SAVE TO CACHE ===
|
# === SAVE TO CACHE ===
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue