diff options
author | prettyboy <prettyboy@yandex-team.com> | 2023-08-11 20:06:55 +0300 |
---|---|---|
committer | prettyboy <prettyboy@yandex-team.com> | 2023-08-11 21:37:32 +0300 |
commit | a1d2d976c23eb3bef79a2033276347deb779dd81 (patch) | |
tree | d483766ef2f194761366c2eb017e46c93ce61c37 /build/ymake.core.conf | |
parent | 2c33817e7cc1c83790f08d26db271359cd7ad99b (diff) | |
download | ydb-a1d2d976c23eb3bef79a2033276347deb779dd81.tar.gz |
[build/ymake.core.conf] Added $TOOLCHAIN_ENV to the macro _SRC "S"
на примере узла voicetech/spotter/embedded/contrib/libtask/asm.S.o
было:
```
"env": {
"ARCADIA_ROOT_DISTBUILD": "$(SOURCE_ROOT)"
},
```
стало:
```
"env": {
"ARCADIA_ROOT_DISTBUILD": "$(SOURCE_ROOT)",
"CPATH": "",
"DYLD_LIBRARY_PATH": "$()/lib:$(OS_SDK_ROOT-sbr:1966560555)/usr/lib/x86_64-linux-gnu",
"LD_LIBRARY_PATH": "$()/lib:$(OS_SDK_ROOT-sbr:1966560555)/usr/lib/x86_64-linux-gnu",
"LIBRARY_PATH": "",
"SDKROOT": ""
},
```
Diffstat (limited to 'build/ymake.core.conf')
-rw-r--r-- | build/ymake.core.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf index 8b04ca2368..4662155af9 100644 --- a/build/ymake.core.conf +++ b/build/ymake.core.conf @@ -2963,7 +2963,7 @@ macro _SRC("rodata", SRC, SRCFLAGS...) { # tag:src-processing macro _SRC("S", SRC, SRCFLAGS...) { - .CMD=$C_COMPILER $C_FLAGS_PLATFORM $CFLAGS $SFLAGS $SRCFLAGS -c -o ${output:SRC.o} ${input:SRC} ${pre=-I:_C__INCLUDE} + .CMD=$C_COMPILER $C_FLAGS_PLATFORM $CFLAGS $SFLAGS $SRCFLAGS -c -o ${output:SRC.o} ${input:SRC} $TOOLCHAIN_ENV ${pre=-I:_C__INCLUDE} .SEM=target_sources PRIVATE ${input:SRC} ${output;hide;suf=${OBJ_SUF}.o:SRC} $_ADD_EXTRA_FLAGS($SRCFLAGS) && add_language ASM } |