This commit is contained in:
Andrea Cavalli 2021-03-16 15:34:56 +01:00
parent dda779bfac
commit 9060b12de4

View File

@ -90,6 +90,10 @@ elif [[ "$OPERATING_SYSTEM_NAME" == "linux" ]]; then
export CMAKE_EXE_LINKER_FLAGS="$CMAKE_EXE_LINKER_FLAGS -latomic"
export LDFLAGS="$LDFLAGS -latomic"
export CXXFLAGS="$CXXFLAGS -latomic"
if [[ "$IMPLEMENTATION_NAME" == "tdlib" ]]; then
export CMAKE_HOST_SYSTEM_NAME="OpenBSD-levlam"
fi
fi
export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"