diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-03-07 22:39:45 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-03-07 22:39:45 +0000 |
commit | ec9dc45b75deb82a60e9be2711e40e3c14195a4c (patch) | |
tree | 84056f5650192820258fd06c42d69b19481470dd /libgo/Makefile.am | |
parent | d8b878dc29c0c037c0fb269c5bce1ed2d1547ff9 (diff) | |
download | gcc-ec9dc45b75deb82a60e9be2711e40e3c14195a4c.zip gcc-ec9dc45b75deb82a60e9be2711e40e3c14195a4c.tar.gz gcc-ec9dc45b75deb82a60e9be2711e40e3c14195a4c.tar.bz2 |
Use _nuname on 32-bit Solaris 2/x86.
From-SVN: r170761
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 814d7ed..ca3de1d 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -1201,6 +1201,18 @@ else syscall_socket_epoll_file = endif +# Support for uname. +if LIBGO_IS_SOLARIS +if LIBGO_IS_386 +# 32-bit Solaris 2/x86 needs _nuname, handled in syscall_solaris_386.go. +syscall_uname_file = +else # !LIBGO_IS_386 && LIBGO_IS_SOLARIS +syscall_uname_file = syscalls/syscall_uname.go +endif +else # !LIBGO_IS_SOLARIS +syscall_uname_file = syscalls/syscall_uname.go +endif + syscall_arch.go: s-syscall_arch; @true s-syscall_arch: Makefile rm -f syscall_arch.go.tmp @@ -1222,6 +1234,7 @@ go_syscall_files = \ $(syscall_socket_os_file) \ $(syscall_socket_epoll_file) \ $(syscall_syscall_file) \ + $(syscall_uname_file) \ syscalls/syscall_unix.go \ syscalls/stringbyte.go \ syscalls/syscall_$(GOOS).go \ |