mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
xen, arm32: filter out unwanted tune flags from CPP as per CC
Avoids passing the wrong floating point ABI flags to the linker. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
eba860b0d9
commit
ee94ad466c
|
@ -193,6 +193,7 @@ do_post_patch() {
|
|||
do_post_patch_append_arm() {
|
||||
# The hypervisor binary must not be built with the hard floating point ABI.
|
||||
echo "CC := \$(filter-out ${TUNE_CCARGS},\$(CC))" >> ${S}/xen/arch/arm/Rules.mk
|
||||
echo "CPP := \$(filter-out ${TUNE_CCARGS},\$(CPP))" >> ${S}/xen/arch/arm/Rules.mk
|
||||
}
|
||||
|
||||
addtask post_patch after do_patch before do_configure
|
||||
|
|
Loading…
Reference in New Issue
Block a user