aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
Diffstat (limited to 'libgo')
-rw-r--r--libgo/Makefile.am1
-rw-r--r--libgo/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 81533be..23cfd07 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -1291,6 +1291,7 @@ runtime.inc: s-runtime-inc; @true
s-runtime-inc: runtime-go.lo
$(SHELL) $(srcdir)/mvifdiff.sh runtime.inc.tmp runtime.inc
$(STAMP) $@
+runtime_check_GOCFLAGS = -fgo-compiling-runtime
runtime/check: $(CHECK_DEPS)
@$(CHECK)
.PHONY: runtime/check
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index ebb7ddf..b1fb87c 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -1249,6 +1249,7 @@ CHECK_DEPS = $(toolexeclibgo_DATA) $(toolexeclibgoarchive_DATA) \
@LIBGO_IS_SOLARIS_FALSE@matchargs_os =
extra_go_files_runtime = runtime_sysinfo.go
runtime_go_lo_GOCFLAGS = -fgo-c-header=runtime.inc.tmp -fgo-compiling-runtime
+runtime_check_GOCFLAGS = -fgo-compiling-runtime
@LIBGO_IS_BSD_TRUE@golang_org_x_net_route_lo = \
@LIBGO_IS_BSD_TRUE@ golang_org/x/net/route/route.lo