diff options
author | Brendan Kerrigan <brendank310@gmail.com> | 2018-11-05 13:28:05 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2018-11-08 14:53:15 -0500 |
commit | f226bea1083b2bf7373ac7e4780459d454830cc4 (patch) | |
tree | 345d28d856659c4ac56f8c18b045931b39c3cec4 | |
parent | ccdf4ef7b82ea2012c0ed75506c2f2adc5b384d4 (diff) | |
download | meta-virtualization-f226bea1083b2bf7373ac7e4780459d454830cc4.tar.gz |
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>
-rw-r--r-- | recipes-extended/xen/xen.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 26504138..7eb2ac4b 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -842,6 +842,7 @@ export LDFLAGS="" | |||
842 | # conflicts with -mno-sse so instead we strip -mfpmath=sse instead of | 842 | # conflicts with -mno-sse so instead we strip -mfpmath=sse instead of |
843 | # patching the build to be ok with this | 843 | # patching the build to be ok with this |
844 | TUNE_CCARGS := "${@oe.utils.str_filter_out('-mfpmath=sse', '${TUNE_CCARGS}', d)}" | 844 | TUNE_CCARGS := "${@oe.utils.str_filter_out('-mfpmath=sse', '${TUNE_CCARGS}', d)}" |
845 | TUNE_CCARGS := "${@oe.utils.str_filter_out('-msse4.2', '${TUNE_CCARGS}', d)}" | ||
845 | 846 | ||
846 | # Supply the full set of compiler flags via the tool variables | 847 | # Supply the full set of compiler flags via the tool variables |
847 | # Yocto supplys _FORTIFY_SOURCE via CC/CPP/CXX but optimization -O via C*FLAGS | 848 | # Yocto supplys _FORTIFY_SOURCE via CC/CPP/CXX but optimization -O via C*FLAGS |