diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-01-28 01:44:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-01-28 01:44:55 +0000 |
commit | 51677e03380ffa8b7325c61bed33cbaa659a9a5f (patch) | |
tree | e9a6ef2e43d92df415dcfed91d04d672ba58e3b2 /libgo/Makefile.am | |
parent | 00472076856c3816104cf9a72130590ec24201d7 (diff) | |
download | gcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.zip gcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.tar.gz gcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.tar.bz2 |
Add Solaris version of os.Hostname.
From-SVN: r169350
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index dd17fff..2faabfc 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -657,6 +657,20 @@ go_netchan_files = \ go/netchan/export.go \ go/netchan/import.go +if LIBGO_IS_LINUX +go_os_sys_file = go/os/sys_linux.go +else +if LIBGO_IS_SOLARIS +go_os_sys_file = go/os/sys_uname.go +else +if LIBGO_IS_RTEMS +go_os_sys_file = go/os/sys_uname.go +else +go_os_sys_file = go/os/sys_bsd.go +endif +endif +endif + go_os_files = \ go/os/dir.go \ go/os/env.go \ @@ -669,7 +683,7 @@ go_os_files = \ go/os/path.go \ go/os/proc.go \ go/os/stat.go \ - go/os/sys_linux.go \ + $(go_os_sys_file) \ go/os/time.go \ go/os/types.go |