fix remove static libc libc++
Some checks failed
android / build (push) Failing after 19s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 6m42s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 7m50s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 6m57s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 7m31s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 7m3s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 7m37s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 7m51s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 8m2s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 7m53s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 8m1s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 8m33s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 7m20s
linux-x64-clang / linux-clang (Debug) (push) Failing after 29s
linux-x64-clang / linux-clang (Release) (push) Failing after 28s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 8m29s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 9m10s
linux-x64-gcc / linux-gcc (Release) (push) Failing after 3h12m32s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 3h13m21s

This commit is contained in:
tmp 2024-11-13 09:21:52 +08:00
parent 88dfe5d323
commit e3c9bc0046

View File

@ -20,8 +20,8 @@ set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
# add static libgcc and libstdc++ for static linking
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static-libstdc++")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static-libgcc -static-libstdc++")
# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++")
option(TILE_BUILD_TESTS "Build tests" OFF)
option(TILE_BUILD_BENCHMARKS "Build tests" OFF)