aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-05-31 21:36:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-05-31 21:36:42 +0000
commit30bc05cfcb5889462047dccf3a03e357d1c1b155 (patch)
tree0fea5b7dccff8cf496f7083cd291e2be2d36d71a /libgo/Makefile.am
parent4f14911c80fe5e57068a98bf8f65aef0a27a9494 (diff)
downloadgcc-30bc05cfcb5889462047dccf3a03e357d1c1b155.zip
gcc-30bc05cfcb5889462047dccf3a03e357d1c1b155.tar.gz
gcc-30bc05cfcb5889462047dccf3a03e357d1c1b155.tar.bz2
libgo: support for sparc64 GNU/Linux
Fix lfstack code to work with sparc64 GNU/Linux address map. Force alignment of epollevent. To make this work reliably, pass GOARCH explicitly to mkrsysinfo.sh. Patch by Vladimir Mezentsev. Reviewed-on: https://go-review.googlesource.com/44494 From-SVN: r248765
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r--libgo/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 8bbd437..0f9881f 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -531,7 +531,7 @@ s-version: Makefile
runtime_sysinfo.go: s-runtime_sysinfo; @true
s-runtime_sysinfo: $(srcdir)/mkrsysinfo.sh gen-sysinfo.go
- GOOS=$(GOOS) $(SHELL) $(srcdir)/mkrsysinfo.sh
+ GOARCH=$(GOARCH) GOOS=$(GOOS) $(SHELL) $(srcdir)/mkrsysinfo.sh
$(SHELL) $(srcdir)/mvifdiff.sh tmp-runtime_sysinfo.go runtime_sysinfo.go
$(STAMP) $@