mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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:
parent
ccdf4ef7b8
commit
f226bea108
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user