mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 17:29:36 +00:00
New translations environment-variables.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -6,17 +6,17 @@ sidebar_label: Переменные среды
|
|||||||
|
|
||||||
## DCR_COMPILER
|
## DCR_COMPILER
|
||||||
|
|
||||||
Переопределяет компилятор для всех языков. **Highest priority.**
|
Переопределяет компилятор для всех языков. **Наивысший приоритет.**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DCR_COMPILER=clang
|
export DCR_COMPILER=clang
|
||||||
dcr build
|
dcr build
|
||||||
```
|
```
|
||||||
|
|
||||||
Compiler resolution priority:
|
Приоритет разрешения компилятора:
|
||||||
|
|
||||||
1. `DCR_COMPILER` (env)
|
1. `DCR_COMPILER` (переменная среды)
|
||||||
2. `DCR_CC` / `DCR_CXX` / `DCR_AS` (env)
|
2. `DCR_CC` / `DCR_CXX` / `DCR_AS` (переменная среды)
|
||||||
3. `[toolchain]` (dcr.toml)
|
3. `[toolchain]` (dcr.toml)
|
||||||
4. `build.compiler` (dcr.toml)
|
4. `build.compiler` (dcr.toml)
|
||||||
5. `PATH`
|
5. `PATH`
|
||||||
@@ -33,7 +33,7 @@ export DCR_AS=arm-linux-gnueabihf-as
|
|||||||
|
|
||||||
## DCR_LD / DCR_AR
|
## DCR_LD / DCR_AR
|
||||||
|
|
||||||
Override linker and archiver.
|
Переопределить линкер и архиватор.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DCR_LD=ld.lld
|
export DCR_LD=ld.lld
|
||||||
|
|||||||
Reference in New Issue
Block a user