Merge pull request #1238 from kinvolk/jepio/fix-cross-perl

coreos/config: add fix for perl cross-compilation
This commit is contained in:
Jeremi Piotrowski 2021-08-31 12:52:07 +02:00 committed by GitHub
commit b3d81cfc90

View File

@ -0,0 +1,5 @@
if [[ ${EBUILD_PHASE} == configure ]]; then
if tc-is-cross-compiler; then
append-cflags "-fwrapv -fno-strict-aliasing"
fi
fi