diff options
Diffstat (limited to 'meta/recipes-bsp')
-rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb index 9ddc4ba716..e55ab7f059 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.4.bb | |||
@@ -52,3 +52,12 @@ BBCLASSEXTEND = "native" | |||
52 | # CFLAGS += -mno-mmx -mno-sse | 52 | # CFLAGS += -mno-mmx -mno-sse |
53 | # So also remove -mfpmath=sse from TUNE_CCARGS | 53 | # So also remove -mfpmath=sse from TUNE_CCARGS |
54 | TUNE_CCARGS_remove = "-mfpmath=sse" | 54 | TUNE_CCARGS_remove = "-mfpmath=sse" |
55 | |||
56 | python () { | ||
57 | ccargs = d.getVar('TUNE_CCARGS', True).split() | ||
58 | if '-mx32' in ccargs: | ||
59 | # use x86_64 EFI ABI | ||
60 | ccargs.remove('-mx32') | ||
61 | ccargs.append('-m64') | ||
62 | d.setVar('TUNE_CCARGS', ' '.join(ccargs)) | ||
63 | } | ||