suzaku / shonenjump

A faster way to change directory and improve command line productivity.
Other
89 stars 8 forks source link

Correct way to build #9

Closed graysky2 closed 2 years ago

graysky2 commented 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}\""
suzaku commented 2 years ago

If you are in Linux, go build . should be enough to generate the shonenjump binary.

suzaku commented 2 years ago

BTW, I've updated go.mod to use go 1.19, so you might need to use a matching version of Go.

graysky2 commented 2 years ago

Thanks