projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4860fd
)
app-emulation/runc: 1.0.0_rc2 Add hardened support
author
William Hubbs
<williamh@gentoo.org>
Wed, 9 Nov 2016 19:23:38 +0000
(13:23 -0600)
committer
William Hubbs
<williamh@gentoo.org>
Wed, 9 Nov 2016 19:25:27 +0000
(13:25 -0600)
Package-Manager: portage-2.3.0
app-emulation/runc/runc-1.0.0_rc2.ebuild
patch
|
blob
|
history
diff --git
a/app-emulation/runc/runc-1.0.0_rc2.ebuild
b/app-emulation/runc/runc-1.0.0_rc2.ebuild
index 0844ed4146ccba501649e01cdbcd149ca40b00e3..da27cda50ffe537e68281f920e4d90bce282fb6e 100644
(file)
--- a/
app-emulation/runc/runc-1.0.0_rc2.ebuild
+++ b/
app-emulation/runc/runc-1.0.0_rc2.ebuild
@@
-20,7
+20,7
@@
HOMEPAGE="http://runc.io"
LICENSE="Apache-2.0"
SLOT="0"
-IUSE="apparmor +seccomp"
+IUSE="apparmor
hardened
+seccomp"
DEPEND=""
RDEPEND="
@@
-33,7
+33,8
@@
S=${WORKDIR}/${P}/src/${EGO_PN}
src_compile() {
# Taken from app-emulation/docker-1.7.0-r1
export CGO_CFLAGS="-I${ROOT}/usr/include"
- export CGO_LDFLAGS="-L${ROOT}/usr/$(get_libdir)"
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
+ -L${ROOT}/usr/$(get_libdir)"
# Setup GOPATH so things build
rm -rf .gopath