mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-14 00:05:11 +00:00
Go can be weird about tools having to run in a directory with go.mod. This commit moves the linuxkit makefile to the same directory as the code. It also changes the semantics of the local-build target. You can now use STATIC=0 for dynamic builds or PIE=1 to use --buildmode=pie. The binaries we were producing in local-static weren't actually static so I fixed that too Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
2.4 KiB
2.4 KiB