diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-10-14 08:47:56 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-10-14 20:51:35 +0200 |
commit | d3eced2687b68659716c7f4729e4bd31674934f7 (patch) | |
tree | 845f7e34783da908cc9cebc1825dc0f129309eaf /boot/uboot/uboot.mk | |
parent | 85280ef82936257456449f189d2ea4b484a8f269 (diff) | |
download | buildroot-novena-d3eced2687b68659716c7f4729e4bd31674934f7.tar.gz buildroot-novena-d3eced2687b68659716c7f4729e4bd31674934f7.zip |
sdl_gfx: don't use --enable-mmx on x86_64
Even though the MMX instructions are available on x86_64 processors,
the MMX code in sdl_gfx is written in IA32-specific assembly code, and
therefore does not build on x86_64. It generates the following build
issues:
SDL_imageFilter.c: Assembler messages:
SDL_imageFilter.c:34: Error: `pusha' is not supported in 64-bit mode
SDL_imageFilter.c:38: Error: `popa' is not supported in 64-bit mode
SDL_imageFilter.c:77: Error: `pusha' is not supported in 64-bit mode
SDL_imageFilter.c:93: Error: `popa' is not supported in 64-bit mode
[...]
We fix this by only enabling MMX support in this package when the
processor supports MMX *and* it is a IA32 compatible processor.
Fixes
http://autobuild.buildroot.org/results/b9efc611f5da487079b6be37bb7a41a3198d63b9/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'boot/uboot/uboot.mk')
0 files changed, 0 insertions, 0 deletions