Maksym Pavlenko
c50a3ef043
Update Makefile and CI
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:16 -07:00
Kazuyoshi Kato
00eb74a4ca
Make building static binaries simpler
...
This commit adds STATIC makefile variable to adjust LDFLAGS and build
tags accordingly.
Fixes #5824 .
Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
2022-06-04 03:34:41 +00:00
Kir Kolyshkin
eb2530be84
Makefile.linux: build on riscv with PIE
...
Since go 1.16, -buildmode=pie is supported on riscv [1],
so let's remove the platform from the exclusion list.
This reverts commit e34bf08e58
.
[1] https://golang.org/doc/go1.16#riscv
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2021-09-02 20:06:40 -07:00
Lucas Kanashiro
e34bf08e58
riscv64 arch does not support -buildmode=pie
...
Signed-off-by: Lucas Kanashiro <lucas.kanashiro@canonical.com>
2020-05-20 16:28:10 -03:00
Johann Neuhauser
4c99c81326
mips: -buildmode=pie is not supported for the mips arch
...
Signed-off-by: Johann Neuhauser <johann@it-neuhauser.de>
2019-11-06 12:50:58 +01:00
Tibor Vass
d12b53a072
ppc64: -buildmode=pie is not supported
...
I needed this patch to compile containerd for ppc64.
Signed-off-by: Tibor Vass <tibor@docker.com>
2019-10-28 22:47:47 +00:00
Michael Crosby
84a24711e8
Add runc.v2 multi-shim
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2019-02-21 11:09:46 -05:00
Aleksa Sarai
83f4ab8855
makefile: remove emoji on Linux
...
These break the build on i386 in some very specific circumstances (where
/bin/sh breaks when handling unicode), and are completely useless when
it comes to actually building the project.
Signed-off-by: Aleksa Sarai <asarai@suse.de>
2018-11-05 23:09:14 +11:00
Michael Crosby
da1b5470cd
Runtime v2
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-07-17 10:21:29 -04:00
Kunal Kushwaha
b12c3215a0
Licence header added
...
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-02-19 10:32:26 +09:00
Kunal Kushwaha
ad4f265497
trim code path in stack trace.
...
Added -trimpath flag in -gcflags to reduce codepath in stack trace.
Fixes #2000
In case of multiple GOPATH, it will trimpath of first one
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2018-01-22 11:03:49 +09:00
Michael Crosby
b8c4d85564
Add buildmode=pie to makefile
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-10-26 16:25:30 -04:00
Christopher Jones
e6ab556f0e
Only use race flag on amd64
...
Race is only supported on amd64, so only run if GOARCH is amd64
Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
2017-08-23 12:30:44 -04:00
Kunal Kushwaha
1c989588c0
Breaking Makefile into platform specific files
...
Fixed #1270
Signed-off-by: Kunal Kushwaha <kushwaha_kunal_v7@lab.ntt.co.jp>
2017-08-22 13:57:12 +09:00