mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-25 05:52:38 +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>