diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-09-28 18:02:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-09-28 18:02:40 +0000 |
commit | 58920998e374bac41c6affea0284e6d1f00f5c42 (patch) | |
tree | 57f9b4dc84c2cab069293196315b22343576bfe9 /libgo/Makefile.am | |
parent | fd5effb17e5f800fcaf54fc1223b77fa764b7f72 (diff) | |
download | gcc-58920998e374bac41c6affea0284e6d1f00f5c42.zip gcc-58920998e374bac41c6affea0284e6d1f00f5c42.tar.gz gcc-58920998e374bac41c6affea0284e6d1f00f5c42.tar.bz2 |
libgo: fix for runtime/check failure with "-O0 -g"
Tweak the makefile rules for the runtime/check test to
insure that the runtime package is compiled with
"-fgo-compiling-runtime". This resolves a test failure
(unsat on runtime.getcallerpc) when in a build directory where the
compiler flags have been configured to disable optimization.
Reviewed-on: https://go-review.googlesource.com/30010
From-SVN: r240588
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 1 |
1 files changed, 1 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 |