diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-09-15 03:43:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-09-15 03:43:01 +0000 |
commit | 44c925bdb0e0c53ed9816e931b97c4f52928a038 (patch) | |
tree | 0b3ccd82b66f339449a4d60b3415dd02def06a13 /libgo/Makefile.am | |
parent | f468efc59ba95f1e51f2537928caa71f130400ce (diff) | |
download | gcc-44c925bdb0e0c53ed9816e931b97c4f52928a038.tar.gz |
libgo: don't provide ustat on arm64 GNU/Linux
This avoids linker warnings when linking against glibc, as apparently
arm64 GNU/Linux does not support the ustat system call.
Also update to automake 1.11.6, as that is the new GCC standard.
Reviewed-on: https://go-review.googlesource.com/14567
From-SVN: r227777
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index cd1c51de721..924dba0a705 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -1742,6 +1742,17 @@ else syscall_lsf_file = endif +# GNU/Linux specific ustat support. +if LIBGO_IS_LINUX +if LIBGO_IS_ARM64 +syscall_ustat_file = +else +syscall_ustat_file = go/syscall/libcall_linux_ustat.go +endif +else +syscall_ustat_file = +endif + # GNU/Linux specific utimesnano support. if LIBGO_IS_LINUX syscall_utimesnano_file = go/syscall/libcall_linux_utimesnano.go @@ -1780,6 +1791,7 @@ go_base_syscall_files = \ $(syscall_uname_file) \ $(syscall_netlink_file) \ $(syscall_lsf_file) \ + $(syscall_ustat_file) \ $(syscall_utimesnano_file) \ $(GO_LIBCALL_OS_FILE) \ $(GO_LIBCALL_OS_ARCH_FILE) \ |