fix missing dependencies for .symabis command
@@ -4785,7 +4785,8 @@ macro _GO_GEN_COVER_GO(GO_FILE, VAR_ID) {
}
macro _GO_COMPILE_SYMABIS(ASM_FILES...) {
- .CMD=${hide:GO_FAKEID} $GO_TOOLS_ROOT/pkg/tool/${GO_HOST_OS}_${GO_HOST_ARCH}/asm -trimpath $ARCADIA_BUILD_ROOT ${hide;input:"build/scripts/go_fake_include/go_asm.h"} -I $ARCADIA_ROOT/build/scripts/go_fake_include -I $GO_TOOLS_ROOT/pkg/include -D GOOS_${GO_TARG_OS} -D GOARCH_${GO_TARG_ARCH} -gensymabis -o ${output:"gen.symabis"} ${input:ASM_FILES} ${kv;hide:"p go"} ${kv;hide:"pc light-blue"} ${kv;hide:"show_out"}
+ .CMD=${hide:GO_FAKEID} $GO_TOOLS_ROOT/pkg/tool/${GO_HOST_OS}_${GO_HOST_ARCH}/asm -trimpath $ARCADIA_BUILD_ROOT ${pre=-I :INCLUDE} -I $GO_TOOLS_ROOT/pkg/include -D GOOS_${GO_TARG_OS} -D GOARCH_${GO_TARG_ARCH} -gensymabis -o ${output:"gen.symabis"} ${input:ASM_FILES} ${kv;hide:"p go"} ${kv;hide:"pc light-blue"} ${kv;hide:"show_out"}
+ .ADDINCL=build/scripts/go_fake_include
}
macro _GO_COMPILE_CGO1(NAME, FLAGS[], FILES...) {
@@ -4967,6 +4968,8 @@ module _GO_BASE_UNIT: _BASE_UNIT {
GO_COMPILE_FLAGS_VALUE += -race
GO_LINK_FLAGS_VALUE += -race
}
+
+ ADDINCL(${GOSTD}/runtime)
}
### @usage: GO_LIBRARY([name])
