mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +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
Notes:
sideshowbarker
2024-07-17 10:18:48 +09:00
Author: https://github.com/BertalanD
Commit: d4d6f2d945
Pull-request: https://github.com/SerenityOS/serenity/pull/14259
Reviewed-by: https://github.com/ADKaster
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