xen: remove sse tuning flag

Strip out the sse4.2 tuning flag to prevent sse instructions
from being generated in the build, which breaks the hvmloader
on some machine types (specifically core-i7 from meta-intel).

Signed-off-by: Brendan Kerrigan <kerriganb@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Brendan Kerrigan 2018-11-05 13:28:05 -05:00 committed by Bruce Ashfield
parent ccdf4ef7b8
commit f226bea108

View File

@ -842,6 +842,7 @@ export LDFLAGS=""
# conflicts with -mno-sse so instead we strip -mfpmath=sse instead of # conflicts with -mno-sse so instead we strip -mfpmath=sse instead of
# patching the build to be ok with this # patching the build to be ok with this
TUNE_CCARGS := "${@oe.utils.str_filter_out('-mfpmath=sse', '${TUNE_CCARGS}', d)}" TUNE_CCARGS := "${@oe.utils.str_filter_out('-mfpmath=sse', '${TUNE_CCARGS}', d)}"
TUNE_CCARGS := "${@oe.utils.str_filter_out('-msse4.2', '${TUNE_CCARGS}', d)}"
# Supply the full set of compiler flags via the tool variables # Supply the full set of compiler flags via the tool variables
# Yocto supplys _FORTIFY_SOURCE via CC/CPP/CXX but optimization -O via C*FLAGS # Yocto supplys _FORTIFY_SOURCE via CC/CPP/CXX but optimization -O via C*FLAGS