Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
sailfish
>
go1.6
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 11
[-]
[+]
Changed
go1.6.spec
@@ -139,6 +139,7 @@ cp %{SOURCE4} . # setup go_arch (BSD-like scheme) +%define go_arm="" %ifarch %ix86 %define go_arch 386 %endif @@ -150,6 +151,7 @@ %endif %ifarch %arm %define go_arch arm +%define go_arm 7 %endif %ifarch ppc64 %define go_arch ppc64 @@ -172,6 +174,8 @@ export GOROOT="`pwd`" export GOROOT_FINAL=%{_libdir}/go/%{go_api} export GOBIN="$GOROOT/bin" +export GOARCH=%{go_arch} +export GOARM=%{go_arm} mkdir -p "$GOBIN" cd src HOST_EXTRA_CFLAGS="%{optflags} -Wno-error" ./make.bash