summaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-30 23:05:04 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-30 23:05:04 +0000
commit37d6b6905758d6112d89e8a0fa9b30ac3fd1fbb6 (patch)
tree96a73acd062cce5897fb331039d0cb1cb6442134 /libgo/Makefile.in
parentccd3f476fe018616f62e4d79fe2d202ad58611f7 (diff)
downloadgcc-37d6b6905758d6112d89e8a0fa9b30ac3fd1fbb6.tar.gz
libgo: Use waitpid on systems which do not have wait4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171758 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r--libgo/Makefile.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 5797fad7f3b..16eb62bfb9d 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -1632,8 +1632,12 @@ go_testing_script_files = \
@LIBGO_IS_LINUX_TRUE@syscall_stat_file = syscalls/sysfile_stat_largefile.go
@LIBGO_IS_RTEMS_FALSE@syscall_exec_os_file = syscalls/exec.go
-# Define ForkExec, PtraceForkExec, Exec, and Wait4.
+# Define ForkExec, PtraceForkExec, and Exec.
@LIBGO_IS_RTEMS_TRUE@syscall_exec_os_file = syscalls/exec_stubs.go
+@HAVE_WAIT4_FALSE@syscall_wait_file = syscalls/waitpid.go
+
+# Define Wait4.
+@HAVE_WAIT4_TRUE@syscall_wait_file = syscalls/wait4.go
@LIBGO_IS_RTEMS_FALSE@syscall_sleep_file = syscalls/sleep_select.go
# Define Sleep.
@@ -1671,6 +1675,7 @@ go_syscall_files = \
$(syscall_errstr_decl_file) \
syscalls/exec_helpers.go \
$(syscall_exec_os_file) \
+ $(syscall_wait_file) \
$(syscall_filesize_file) \
$(syscall_stat_file) \
$(syscall_sleep_file) \