summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2012-07-16 23:37:29 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-17 09:54:59 +0200
commitcae0947b053bec39508c3c2e922ddcbd1f512225 (patch)
tree869b7060da6eb486c92e9ebb2b6ffef027354f37
parent4c044a2d3830d20d26efcd53407a76a050a04d93 (diff)
downloadbuildroot-novena-cae0947b053bec39508c3c2e922ddcbd1f512225.tar.gz
buildroot-novena-cae0947b053bec39508c3c2e922ddcbd1f512225.zip
sdl_sound: refactor *_CONF_OPT assignment with cpu-feature options
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/sdl_sound/sdl_sound.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/sdl_sound/sdl_sound.mk b/package/sdl_sound/sdl_sound.mk
index a5d9a26d5..620b3b469 100644
--- a/package/sdl_sound/sdl_sound.mk
+++ b/package/sdl_sound/sdl_sound.mk
@@ -32,8 +32,7 @@ SDL_SOUND_CONF_OPT = \
--disable-sdltest \
--enable-static
-# enable mmx for newer x86's
-ifeq ($(BR2_i386)$(BR2_x86_i386)$(BR2_x86_i486)$(BR2_x86_i586)$(BR2_x86_pentiumpro)$(BR2_x86_geode),y)
+ifeq ($(BR2_X86_CPU_HAS_MMX),y)
SDL_SOUND_CONF_OPT += --enable-mmx
else
SDL_SOUND_CONF_OPT += --disable-mmx