mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
app-emulation/docker: disable optimizations
With optimizations enabled, seccomp fails to compile with errors like: error: enumerator value for '__cgo_enum__0' is not an integer constant This is due to https://github.com/golang/go/issues/14669.
This commit is contained in:
parent
b860ad618e
commit
8517d24bad
@ -252,6 +252,9 @@ src_compile() {
|
|||||||
unset DOCKER_EXPERIMENTAL
|
unset DOCKER_EXPERIMENTAL
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# disable optimizations due to https://github.com/golang/go/issues/14669
|
||||||
|
CFLAGS+=" -O0"
|
||||||
|
|
||||||
go_export
|
go_export
|
||||||
|
|
||||||
# verbose building
|
# verbose building
|
||||||
|
Loading…
x
Reference in New Issue
Block a user