Skip to content

Commit

Permalink
fix(cross): libstdc++ building
Browse files Browse the repository at this point in the history
  • Loading branch information
llenotre committed May 12, 2024
1 parent 851e41b commit 08e4dab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cross/desc/clang/build-hook
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ ninja -j$JOBS install
cd ..

# Build libstdc++
cd ../libc++-build
cmake
../llvm
cd libc++-build
cmake \
../llvm \
-G Ninja \
-S runtimes \
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
Expand Down Expand Up @@ -70,4 +70,4 @@ cd ..
ln -fsv ../../lib/clang/13.0.1/lib/linux/clang_rt.crtbegin-i386.o $SYSROOT/usr/lib/crtbegin.o
ln -fsv crtbegin.o $SYSROOT/usr/lib/crtbeginS.o
ln -fsv crtbegin.o $SYSROOT/usr/lib/crtbeginT.o
ln -fsv ../../lib/clang/13.0.1/lib/linux/clang_rt.crtend-i386.o $SYSROOT/usr/lib/crtend.o
ln -fsv ../../lib/clang/13.0.1/lib/linux/clang_rt.crtend-i386.o $SYSROOT/usr/lib/crtend.o

0 comments on commit 08e4dab

Please sign in to comment.