aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2018-03-16 19:01:40 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2018-03-16 19:01:40 +0000
commit534d990b353fad0828841d1aa8630ccd0302cb21 (patch)
tree39201fe42fc895961c73578ead760dc374d31dbd /libgo/Makefile.am
parent83484be8b822c6a7b08e15e42fac348124455713 (diff)
downloadgcc-534d990b353fad0828841d1aa8630ccd0302cb21.zip
gcc-534d990b353fad0828841d1aa8630ccd0302cb21.tar.gz
gcc-534d990b353fad0828841d1aa8630ccd0302cb21.tar.bz2
libgo: add runtime/pprof/internal/profile.gox to noinst_DATA
Also add noinst_DATA to CHECK_DEPS; it's not needed in practice since `make` will build noinst_DATA, but it's logically required and will make a difference if any of the noinst_DATA sources change between `make` and `make check`. Tony Reix figured out why omitting packages from noinst_DATA didn't seem to matter: because if gccgo can't find foo.gox, it will fall back to reading the export data in foo.o, and foo.o will exist because these packages go into libgo.a. Reviewed-on: https://go-review.googlesource.com/101077 From-SVN: r258606
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r--libgo/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 8f7acfe..7558aab 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -399,7 +399,8 @@ noinst_DATA = \
internal/testenv.gox \
internal/trace.gox \
net/internal/socktest.gox \
- os/signal/internal/pty.gox
+ os/signal/internal/pty.gox \
+ runtime/pprof/internal/profile.gox
if LIBGO_IS_RTEMS
rtems_task_variable_add_file = runtime/rtems-task-variable-add.c
@@ -1094,6 +1095,7 @@ CHECK_DEPS = \
$(toolexeclibgotext_DATA) \
$(toolexeclibgotexttemplate_DATA) \
$(toolexeclibgounicode_DATA) \
+ $(noinst_DATA) \
$(noinst_LIBRARIES)
if GOC_IS_LLGO