From 882403c11d47261fd8760370d06a4860a13b9355 Mon Sep 17 00:00:00 2001 From: Kartatz <105828205+Kartatz@users.noreply.github.com> Date: Fri, 17 May 2024 15:37:15 -0300 Subject: [PATCH] Add CMake toolchains --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 11f0517..4cd8368 100644 --- a/build.sh +++ b/build.sh @@ -188,14 +188,13 @@ make install cd "${llvm_directory}/build" rm --force --recursive ./* - +# -DCMAKE_CXX_FLAGS='-static-libgcc -static-libstdc++' \ cmake \ ${cmake_cross_compile_flags} \ -DCMAKE_BUILD_TYPE='MinSizeRel' \ -DLLVM_ENABLE_ASSERTIONS=OFF \ -DLLVM_ENABLE_PROJECTS='lld' \ -DLLVM_TABLEGEN='/usr/bin/llvm-tblgen-14' \ - -DCMAKE_CXX_FLAGS='-static-libgcc -static-libstdc++' \ -DLLVM_TOOLCHAIN_TOOLS='llvm-ar;llvm-ranlib;llvm-objdump;llvm-rc;llvm-cvtres;llvm-nm;llvm-strings;llvm-readobj;llvm-dlltool;llvm-pdbutil;llvm-objcopy;llvm-strip;llvm-cov;llvm-profdata;llvm-addr2line;llvm-symbolizer;llvm-windres;llvm-ml;llvm-readelf;llvm-size;llvm-cxxfilt' \ -DCMAKE_INSTALL_PREFIX="${toolchain_directory}" \ "${llvm_directory}/llvm"