public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/sdl2: enable SSE only if it's supported by the target
@ 2020-05-15 17:53 Nicolas Robin
  2020-05-15 17:53 ` [Buildroot] [PATCH 2/3] arch/x86: adds BR2_X86_CPU_HAS_3DNOW flag Nicolas Robin
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Nicolas Robin @ 2020-05-15 17:53 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Nicolas Robin <nrosfs@gmail.com>
---
 package/sdl2/sdl2.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/sdl2/sdl2.mk b/package/sdl2/sdl2.mk
index 501bb4699d..4a287b66a3 100644
--- a/package/sdl2/sdl2.mk
+++ b/package/sdl2/sdl2.mk
@@ -30,6 +30,12 @@ else
 SDL2_CONF_OPTS += --disable-libudev
 endif
 
+ifeq ($(BR2_X86_CPU_HAS_SSE),y)
+SDL2_CONF_OPTS += --enable-sse
+else
+SDL2_CONF_OPTS += --disable-sse
+endif
+
 ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y)
 SDL2_DEPENDENCIES += directfb
 SDL2_CONF_OPTS += --enable-video-directfb
-- 
2.24.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-07-16 16:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-15 17:53 [Buildroot] [PATCH 1/3] package/sdl2: enable SSE only if it's supported by the target Nicolas Robin
2020-05-15 17:53 ` [Buildroot] [PATCH 2/3] arch/x86: adds BR2_X86_CPU_HAS_3DNOW flag Nicolas Robin
2020-07-16 16:18   ` Peter Korsgaard
2020-05-15 17:53 ` [Buildroot] [PATCH 3/3] package/sdl2: enable 3DNOW only if it's supported by the target Nicolas Robin
2020-07-16 16:18   ` Peter Korsgaard
2020-05-15 19:48 ` [Buildroot] [PATCH 1/3] package/sdl2: enable SSE " Thomas Petazzoni
2020-05-15 19:55   ` Nicolas Robin
2020-05-15 20:44     ` Thomas Petazzoni
2020-05-15 20:50       ` Nicolas Robin
2020-07-16 16:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox