mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-15 22:31:59 +01:00
Revert "app-emulation/rkt: Remove go environment settings"
After this we're no longer passing -nopie to the linker, rkt is ending up with a TEXTREL section and SELinux is blocking execution. Revert until it's fixed.
This commit is contained in:
parent
dd16d73e11
commit
34d0066c5b
@ -119,6 +119,12 @@ src_configure() {
|
||||
append-ldflags -nopie
|
||||
fi
|
||||
|
||||
export CC=$(tc-getCC)
|
||||
export CGO_ENABLED=1
|
||||
export CGO_CFLAGS="${CFLAGS}"
|
||||
export CGO_CPPFLAGS="${CPPFLAGS}"
|
||||
export CGO_CXXFLAGS="${CXXFLAGS}"
|
||||
export CGO_LDFLAGS="${LDFLAGS}"
|
||||
export BUILDDIR
|
||||
export V=1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user