Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
sailfish
>
go1.4
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 20
[-]
[+]
Changed
go.spec
@@ -99,6 +99,7 @@ %patch101 -p0 # setup go_arch (BSD-like scheme) +%define go_arm="" cp %{SOURCE3} go.macros %ifarch %ix86 sed -i 's|GOARCH|386|' go.macros @@ -111,6 +112,7 @@ %ifarch %arm sed -i 's|GOARCH|arm|' go.macros %define go_arch arm +%define go_arm 7 %endif %build @@ -122,6 +124,8 @@ export GOROOT="`pwd`" export GOROOT_FINAL=%{_libdir}/%{name} export GOBIN="$GOROOT/bin" +export GOARCH=%{go_arch} +export GOARM=%{go_arm} %if !%{with_gccgo} export CGO_ENABLED=0 %endif