alexandregz / gogs-spk

spk (Synology package) to install gogs into Synology NAS
MIT License
54 stars 48 forks source link

How to get the latest binary which support Marvell Armada? #1

Closed hirakujira closed 8 years ago

hirakujira commented 8 years ago

Tried to copy Linux arm binary which is available on the official website, but my NAS can't run that binary. I'm wondering whether you build your own binary from the source code? If so, what't the parameters of go build to set the correct archs?

Thanks

hirakujira commented 8 years ago

Never mind, found the way: GOOS=linux GOARCH=arm GOARM=7 go get -u github.com/gogits/gogs

alexandregz commented 8 years ago

Nice, thx! :-)

I used the binaries compiled by gogs project itself without problem

I'm going to add the command to compile to README, if you don't mind.