Closed graysky2 closed 2 years ago
I am maintaining the Arch Linux PKGBUILD for shonenjump. Is this the recommended way to build from source?
CGO_CPPFLAGS="${CPPFLAGS}" CGO_CFLAGS="${CFLAGS}" CGO_CXXFLAGS="${CXXFLAGS}" CGO_LDFLAGS="${LDFLAGS}" \ go build -buildmode=pie -ldflags "-linkmode external -extldflags \"${LDFLAGS}\""
If you are in Linux, go build . should be enough to generate the shonenjump binary.
go build .
shonenjump
BTW, I've updated go.mod to use go 1.19, so you might need to use a matching version of Go.
go.mod
Thanks
I am maintaining the Arch Linux PKGBUILD for shonenjump. Is this the recommended way to build from source?