This commit is contained in:
Andrea Cavalli 2023-05-07 17:36:52 +02:00
parent 3eb6f62aab
commit 08f811ddb4
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin
# machine-specific flags
HOST_CMAKE_C_COMPILER="/usr/bin/clang-10"
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-10"
HOST_CMAKE_C_FLAGS="-Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_C_FLAGS="-fuse-ld=lld -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++ -fno-exceptions"
HOST_CMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -lc++ -lc++abi"

View File

@ -9,7 +9,7 @@ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin
# machine-specific flags
HOST_CMAKE_C_COMPILER="/usr/bin/clang-14"
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-14"
HOST_CMAKE_C_FLAGS="-Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_C_FLAGS="-fuse-ld=lld -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++ -fno-exceptions"
HOST_CMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -lc++ -lc++abi"

View File

@ -10,7 +10,7 @@ mkdir -p implementations/tdlight/build implementations/tdlight/build/td_bin/bin
# machine-specific flags
HOST_CMAKE_C_COMPILER="/usr/bin/clang-10"
HOST_CMAKE_CXX_COMPILER="/usr/bin/clang++-10"
HOST_CMAKE_C_FLAGS="-Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_C_FLAGS="-fuse-ld=lld -Wno-psabi --specs=nosys.specs -fdata-sections -ffunction-sections -Wl,--gc-sections"
HOST_CMAKE_CXX_FLAGS="${HOST_CMAKE_C_FLAGS} -stdlib=libc++ -fno-exceptions"
HOST_CMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -lc++ -lc++abi"