This website requires JavaScript.
Explore
Help
Sign In
actions
/
tea
Watch
2
Star
0
Fork
You've already forked tea
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
02f5f15269
tea
/
.dockerignore
3 lines
15 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Makefile: add STATIC=true for static PIE builds (#349) - `make build` + `make install` now support the `STATIC=true` parameter, creating statically linked builds that are also position independent executables - this requires CGO and a static libc on the build system - `CGO_ENABLED=0` is set for all make build targets, unless `STATIC=true` is set - Debug symbols are stripped (`-s -w`) for all make build targets - Release binaries are built statically by gox (no PIE), as before. I also took the liberty to declutter the makefile from unused & duplicated variables. Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/349 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
2021-09-23 16:01:07 +00:00
Dockerfile
tea