Skip to content

Commit

Permalink
fixup "mk: add golang as target for compilation"
Browse files Browse the repository at this point in the history
Issue #4358
  • Loading branch information
nfeske committed Dec 22, 2021
1 parent 3f6e76c commit e623179
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions repos/base/mk/generic.mk
Expand Up @@ -76,9 +76,6 @@ endif
$(MSG_COMP)$@
$(VERBOSE)$(GOLANG) $(CUSTOM_GO_FLAGS) -c -o $@ $<

CUSTOM_GO ?= $(CROSS_DEV_PREFIX)gccgo
GOLANG = $(CUSTOM_GO)

#
# Compiling Ada source codes
#
Expand Down
2 changes: 2 additions & 0 deletions repos/base/mk/global.mk
Expand Up @@ -27,6 +27,7 @@ CUSTOM_HOST_CC ?= $(HOST_DEV_PREFIX)gcc
CUSTOM_HOST_CXX ?= $(HOST_DEV_PREFIX)g++
CUSTOM_ADA_CC ?= $(CUSTOM_CC)
CUSTOM_ALI2DEP ?= $(CROSS_DEV_PREFIX)ali2dep
CUSTOM_GO ?= $(CROSS_DEV_PREFIX)gccgo

#
# GNU utilities
Expand Down Expand Up @@ -56,6 +57,7 @@ GNATBIND = $(CUSTOM_GNATBIND)
HOST_CC = $(CUSTOM_HOST_CC)
ADA_CC = $(CUSTOM_ADA_CC)
ALI2DEP = $(CUSTOM_ALI2DEP)
GOLANG = $(CUSTOM_GO)

#
# Compiler and Linker options
Expand Down

0 comments on commit e623179

Please sign in to comment.