aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-05-24 21:43:12 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-05-24 21:43:12 +0000
commitd14a6437c37fc21070bcc6c2602bd7a0cc93f84e (patch)
treeeaf40bcf40b584868708e8bad126793670271d80 /libgo/Makefile.am
parent85fe6408f42f51d9ce76b99893872800d17832aa (diff)
downloadgcc-d14a6437c37fc21070bcc6c2602bd7a0cc93f84e.zip
gcc-d14a6437c37fc21070bcc6c2602bd7a0cc93f84e.tar.gz
gcc-d14a6437c37fc21070bcc6c2602bd7a0cc93f84e.tar.bz2
libgo: Solaris/Irix portability fixes.
From Rainer Orth. From-SVN: r174144
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r--libgo/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index ae6848f..c98a176 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -669,9 +669,19 @@ if LIBGO_IS_LINUX
go_net_cgo_file = go/net/cgo_linux.go
go_net_sock_file = go/net/sock_linux.go
else
+if LIBGO_IS_IRIX
+go_net_cgo_file = go/net/cgo_linux.go
+go_net_sock_file = go/net/sock_linux.go
+else
+if LIBGO_IS_SOLARIS
+go_net_cgo_file = go/net/cgo_linux.go
+go_net_sock_file = go/net/sock_linux.go
+else
go_net_cgo_file = go/net/cgo_bsd.go
go_net_sock_file = go/net/sock_bsd.go
endif
+endif
+endif
go_net_files = \
go/net/cgo_unix.go \